Question: 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)
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
Step by Step Solution
3.46 Rating (146 Votes )
There are 3 Steps involved in it
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 full answer
Get step-by-step solutions from verified subject matter experts
