In a high jump competition, you are acquired to create a system that will determine the first winner. | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

In a high jump competition, you are acquired to create a system that will determine the first winner.

Assume they can make one jump and there are a number of participants . Can you guys help me to create this program?

12th Dec 2019, 1:35 AM
Ajiemz
2 Answers
+ 1
You can do it with the help of arrays by giving user input. OR You can create a simple class and then achieve the above result. Kindly give it a try and come back with your code if you are stuck.
12th Dec 2019, 11:07 AM
Avinesh
Avinesh - avatar
+ 1
IMO the simpliest way is the user input + while() cycle
13th Dec 2019, 4:15 AM
Marnyansky
Marnyansky - avatar