Girl?
Jojo is looking for his love by sending messages to strangers on a dating application. Because he knows that many people are using fake profile photos, he found a way to find out the gender of the user by their user names. If the number of distinct characters in one’s user name is even, then she is a female, otherwise he is a male. Help him to find out their gender! '
Format Input:
The first line is an integer T representing the number of test cases. The next T lines each consist of a string S representing the user name in the dating application.
Format Output:
For each test case output “Case #X: ”, where X is the case number, followed by “Yay” if the user is a female, or “Ewwww” if the user is a male.
Constraints
• 1 ≤ T ≤ 100
• 1 ≤ |S| ≤ 105
• S only consist of lowercase letter.
Sample Input 1 (standard input):
1
abb
Sample Output 1 (standard output):
Case #1: Yay
Sample Input 2 (standard input):
2
abbc
za
Sample Output 2 (standard output):
Case #1: Ewwww
Case #2: Yay
Note:
On the first sample input, first test case, the user is female because there are 2 different letters namely “a” and “b”, so the output is “Yay”.
note : USE C language, integer must be the same as the constraint, DONT USE VOID, RECURSIVE(RETURN FUNCTION), RESULT, code it under int main (must be blank){
In: Computer Science
in java
Create a class called Customer in three steps: • (Step-1): • Add a constructor of the class Customer that takes the name and purchase amount of the customer as inputs. • Write getter methods getName and getPrice to return the name and price of the customer. You can write a toString() method which returns printed string of Customer name and its purchase. • (Step-2): Create a class called Restaurant. • Write a method addsale that takes customer name and purchase amount of the customer in the class restaurant and stores it into an array list. • Write a method nameBestCustomer that returns customer name who bought highest sale in the restaurant. • (Step-3): Write a tester class that prompts the user to enter name and purchase of the customers and display the name of the customer who bought highest sales in the restaurant.
In: Computer Science
In a detailed paragraph please write about behaviors that contribute to the prevalence of covid 19.
Please be as detailed as possible
IMPORTANT: If you are going to write please make sure your writing is neat, legible, and easy to read. Please write in print (not cursive). Thank you
In: Nursing
Identify power/influence tactics and their managerial applications, and explain the three types of conflict (task, process, relationship), the three loci of conflict (dyadic, intragroup and intergroup) and managerial implications for organizational behavior and performance.
In: Operations Management
Discuss the evidence regarding the role of self-esteem in academic achievement
In: Psychology
Prepare a short report that evaluates their “ETHICAL BUSINESS PRACTISE” of Hilton in terms of Sustainability.
400 words
Must include:
-description of the activities
- the assessment of these activities (using theory, concepts and approaches )
In: Operations Management
Discuss the importance of an organization’s mission, vision, values, and strategies.
In: Operations Management
In: Operations Management
A first-order decomposition reaction is observed to have the
following rate constants at the
indicated temperatures. Estimate the activation energy and the
frequency factor. Include
any important plots.
| T (K) | k (sec( − 1)) |
| 273 | 2.46x10^-3 |
| 293 | 4.51x10^-2 |
| 313 | 5.67x10^-1 |
From your results, calculate ∆S‡,
∆H‡, and ∆G‡ at each
temperature.
In: Chemistry
Calculate the magnitude of the electric field at the center of a square with sides 20.5 cm long if the corners, taken in rotation, have charges of 1.18 μC, 2.36 μC, 3.54 μC, and 4.72 μC (all positive).
In: Physics
I need this code in java.
Task
(1) Create two files to submit:
Build the ItemToPurchase class with the following specifications:
(2) In main(), prompt the user for two items and create two
objects of the ItemToPurchase class. Before prompting for the
second item, call scnr.nextLine(); to allow the
user to input a new string. (2 pts)
Ex:
Item 1 Enter the item name: Chocolate Chips Enter the item price: 3 Enter the item quantity: 1 Item 2 Enter the item name: Bottled Water Enter the item price: 1 Enter the item quantity: 10
(3) Add the costs of the two items together and output the total
cost. (2 pts)
Ex:
TOTAL COST Chocolate Chips 1 @ $3 = $3 Bottled Water 10 @ $1 = $10 Total: $13
This is the given code so far:
import java.util.Scanner;
public class ShoppingCartPrinter {
public static void main(String[] args) {
Scanner scnr = new Scanner(System.in);
int i = 0;
String productName;
int productPrice = 0;
int productQuantity = 0;
int cartTotal = 0;
// TODO Create new item1 and new item2
// Prompt for item 1 details from user, create itemToPurchase
object
System.out.println("Item 1");
System.out.println("Enter the item name:");
productName = scnr.nextLine();
System.out.println("Enter the item price:");
productPrice = scnr.nextInt();
System.out.println("Enter the item quantity:");
productQuantity = scnr.nextInt();
System.out.println("");
// TODO: Set item1 fields here
// Promptr for item 2 details from user, create itemToPurchase
object
System.out.println("Item 2");
System.out.println("Enter the item name:");
scnr.nextLine(); // DO NOT OMIT THIS LINE
productName = scnr.nextLine();
System.out.println("Enter the item price:");
productPrice = scnr.nextInt();
System.out.println("Enter the item quantity:");
productQuantity = scnr.nextInt();
System.out.println("");
// TODO set item2 here
// Add costs of two items and print total
cartTotal = (item1.getPrice() * item1.getQuantity()) +
(item2.getPrice() * item2.getQuantity());
System.out.println("TOTAL COST");
System.out.println(item1.getName() + " " + item1.getQuantity()
+
" @ $" + item1.getPrice() + " = $" +
(item1.getPrice() * item1.getQuantity()));
System.out.println(item2.getName() + " " + item2.getQuantity()
+
" @ $" + item2.getPrice() + " = $" +
(item2.getPrice() * item2.getQuantity()));
System.out.println("");
System.out.println("Total: $" + cartTotal);
return;
}
}
In: Computer Science
Ikea is a Swedish based multinational corporation that designs and sells ready-to-assemble furniture and home accessories. IKEA is the largest furniture company in the world. It is known for its modern architectural designs, as well as its attention to continuous product development, operations details, and cost control. IKEA relies on design innovation to bring great quality and beautiful designs to the market and its stores by collaborating with the best designers from various parts of the world. It has developed cost efficient and innovative methods to match people’s expectations of price and quality. Answer all the three following questions in relation to IKEA. You can use your study material and other resources to write your answers. Use your own words and adhere to the wordcount specified for each question
Question 1: Innovation at IKEA (30 marks, 300 words) A. Why is IKEA an innovative company? Support your answer with examples. B. Discuss the role of four business functions at IKEA. Give at least two innovation examples for each business function at IKEA
Question 2: Product offering and targeting (30 marks, 300 words) A. Discuss the three levels of a product by using the HAMARVIK mattress as an example. B. Discuss the four targeting strategies. Which targeting strategy does IKEA use for its mattresses. Justify your answer. (Check the mattress section on the IKEA website before answering this question)
Question 3: The marketing mix and innovation (40 marks, 500 words) IKEA’s marketing strategy consists of market segmentation, targeting, positioning and the marketing mix. IKEA’s marketing strategy enables the company to be a successful player in the global market. Using your B207A course material, evaluate how the innovation in IKEA’s marketing mix elements are used to position the products within the minds of consumers. Your answer should contain the following: 1- IKEA’s market segmentation and targeting 2- What is positioning. How is it related to the marketing mix? 3- Examples of IKEA’s marketing mix elements and their contribution to brand positioning
In: Operations Management
In: Other
In: Math
Scenario: Your organization has used a variety of collaboration systems developed by some project managers. Some of these systems were successful while others were not. Your organization has one unique challenge—many of your employees are staffed at other locations or work from home (telework). You would like to standardize the collaboration process to improve team communication for all company projects. In your presentation, you should include the elements listed below.
Explain why collaboration information systems (IS) are important from the organization’s perspective.
Discuss how collaboration tools can improve team communication.
Identify three tools that will be used for synchronous communications and three tools that will be used for asynchronous communications. Be sure to explain why you made these choices.
Describe how project files, such as Microsoft (MS) Word, MS Excel, MS Project, and MS Visio, will be shared with team members. Be sure to explain the rationale behind your choice.
Explain how the task list for managing tasks will be shared with team members. Be sure to explain the rationale behind your choice.
Discuss how this new collaboration IS could provide competitive advantages for your organization.
Your presentation should be a minimum of six slides in length (not counting the title and reference slides). Use of images, graphics, and diagrams is encouraged. You can use an industry of your choosing or examples from your personal or professional experiences in developing this assignment.
In: Operations Management