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
-
In a competitive labor market, the demand for and supply of labor determine the equilibrium wage rate and the equilibrium level of employment. Discuss the relationship between how these markets...
-
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...
-
The graph below shows a production possibilities curve for 2014 and two potential production possibilities curves for 2015, denoted 2015A and 2015B. a. Which of the labeled points corresponds to...
-
Describe, compare, and contrast the four different levels of scale measurement.
-
Given the following Laplace transforms \(F(s)\), find the function \(f(t)\). Note that in each case there are an infinite number of poles, resulting in an infinite series representation. a....
-
Paige Company has completed all of its operating budgets. The sales budget for the year shows 50,000 units and total sales of $2,000,000. The total unit cost of making one unit of sales is $22....
-
END-OF-YEAR ACTIVITIES On the financial statements prepared atthe end of its first year of operations, the company must show anaccurate picture of all expenses and all liabilities incurred. Thelast 2...
-
Forward exchange contract designated as a cash flow hedge of a foreign-currency-denominated forecasted sale of inventory, strengthening $US On October 15, 2018, our U.S.-based company received a...
-
Find an example (with a production video) for a. low production: 1 to 100 units per year b. medium production: 100 to 10,000 units per year c. high production: 10,000 to millions of units per year...
-
Evaluate fo (ti + tj + tk)dt = i+ j+ k.
-
Amanda, earned $585.15 during the week ended March 1, 20--. Prior to payday, she had cumulative gross earnings of $4,733.20. What is the amount of OASDI taxes withheld from Amanda's Pay? (show...
-
Thermal Rising, Incorporated, makes paragliders for sale through specialty sporting goods stores. The company has a standard paraglider model, but also makes custom-designed paragliders. Management...
-
XYZ Partnership conducts a qualified trade or business for purposes of $199A. XYZ is a tax shelter for purposes of $448. During 2018 it had gross business income of $3,000 and business deductions of...
-
. A machine was purchased for $ 1 8 0 , 0 0 0 its useful life. Monthly depreciation expense of $ 1 , 4 0 0 was recorded using the straight - line method. What is the annual depreciation rate?
-
This page says Last onel Your code should generate 100 boxes when the page is loaded. Their locations should be random between 0-400 for the top position and 0-400 for the left position. When the...
-
Why is it necessary to study the diffusion of molecules in biological systems?
-
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...
-
The main assertions in the financial statements relating to inventory, for which audit procedures should be designed and performed are: (a) Existence (b) Ownership (c) Completeness (d) Valuation
-
When the auditor attends an inventory count as a part of the inspection procedure, the auditor is required to: (a) Evaluate managements instructions and procedures for recording and controlling the...
-
Which of the following assertion is accurate concerning audit risk? (a) Audit risk refers to the risk that the auditor expresses an inappropriate audit opinion (b) Audit risk is a function of the...
Study smarter with the SolutionInn App