Kasim 3- Write a Java program that asks the user to enter the weights and the...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
Kasim 3- Write a Java program that asks the user to enter the weights and the the full name (name(s) and Lastnames having space(s) between them, e.g. Ahmet Tunc) of indefinite number of people until a weight value -1 is entered. Output the weakest person's weight and first name only. Example: Enter the weight: 50 Enter the full name : Esma Nur Enter the weight: 60 Enter the full name: Reyhan Enter the wight: 55 Enter the full name: Osman Mersin Enter the weight:-1 The weakest person is Esma Nur with 50 kg In case no person is input then it will indicate there is no person to name. Yaz Zeynep Pek Kasim 3- Write a Java program that asks the user to enter the weights and the the full name (name(s) and Lastnames having space(s) between them, e.g. Ahmet Tunc) of indefinite number of people until a weight value -1 is entered. Output the weakest person's weight and first name only. Example: Enter the weight: 50 Enter the full name : Esma Nur Enter the weight: 60 Enter the full name: Reyhan Enter the wight: 55 Enter the full name: Osman Mersin Enter the weight:-1 The weakest person is Esma Nur with 50 kg In case no person is input then it will indicate there is no person to name. Yaz Zeynep Pek
Expert Answer:
Answer rating: 100% (QA)
The image contains an assignment task where you need to write a Java program The program is supposed to ask the user to enter the weights of individua... View the full answer
Related Book For
Java An Introduction To Problem Solving And Programming
ISBN: 9780134462035
8th Edition
Authors: Walter Savitch
Posted Date:
Students also viewed these programming questions
-
A convex mirror is used to reflect light from an object placed 66cm in front of the mirror. The focal point is 46cm from the mirror. What is the focal length as you would use in the mirror equation?...
-
Anita Daye is investigating purchasing an ice cream franchise from Creamery, Inc., to sell various ice cream dishes under the Creamery, Inc. name. She has compiled the following information: 1) She...
-
You are given the following information: The current gold price is $1,650, the net convenience yield for gold is 1.7% per year, the risk-free rate is 5% per year, the volatility is 30% per year, the...
-
Using the bill / tip data, find the best predicted tip amount for a dinner bill of $100. What tipping rule does the regression equation suggest? In each case, find the regression equation, letting...
-
How many oxygen atoms are in 1.0 g of water?
-
A process in which pressure remains constant is called (a) Isochoric process (b) Isobaric process (c) Isothermal process (d) Adiabatic process.
-
Sarah Companys trial balance on December 31, 2016 (the end of its annual accounting period), included the following account balances before adjustments: Reviewing the companys recorded transactions...
-
An old, fatigued washing machine has some loose fasteners which protrude inside the drum and latch onto the clothing during the spin cycle as shown in Fig. 1. An approximation of the out-of-balance...
-
Macon Machines Company began operations on November 1, 2024. The main operating goal of the company is to sell high end robots. Customers may pay using cash or if appropriate, credit is extended to...
-
Something More Ltd. is considering addition to its product line. After a lot of deliberations between the sales and production personnel, it is decided that products P, Q and R would be the most...
-
Assume Karen Korrs has the following portfolio. What is the portfolios beta? STOCK Mitsubishi UFJ Takeda STOCK WEIGHT BETA 23% 1.37 5% 1.56 Isetan Mitsukoshi 35% 1.05 Toyota 17% 1.15 Kyocera 20% 1.48
-
Ricoh issued bonds that pay $76.50 in interest each year and will mature in 8 years. You are thinking about purchasing the bonds. You have decided that you would need a 5.5 percent return on your...
-
Louis Vuitton SE is evaluating a security. Calculate the investments expected return and its standard deviation. PROBABILITY RETURN 0.20 7% 0.25 10% 0.40 12% 0.15 18%
-
Kenmare Resources PLC is a mining company based in the Republic of Ireland and listed on the Irish Stock Exchange. The firm has estimated its weighted average cost of capital to be 11 percent based...
-
Given the holding-period returns shown here, calculate the average returns and the standard deviations for the Renault Corporation and for the market. MONTH RENAULT CORPORATION MARKET 1 5% 3% 2 7% 4%...
-
Inferno Co. is a manufacturer and distributer of precision navigation and guidance equipment. The following is information about the company's earnings and securities on 31 December 2017. (Note:...
-
How is use of the word consistent helpful in fraud reports?
-
Repeat the calorie-counting program described in Programming Project 8 from Chapter 2. This time ask the user to input the string M if the user is a man and W if the user is a woman. Use only the...
-
How does machine language differ from Java?
-
Create an interface MessageDecoder that has a single abstract method decode(cipherText), where cipherText is the message to be decoded. The method will return the decoded message. Modify the classes...
-
Why is it important to acknowledge how a client is feeling at the initial interview?
-
Why is maintaining client confidentiality so important?
-
What are the three stages of a client interview?
Study smarter with the SolutionInn App