Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Please write new code, don't copy from the other same question on the Chegg write on C# You are in charge of a mens high

Please write new code, don't copy from the other same question on the Chegg

write on C#

You are in charge of a mens high jump competition and you have data on each prospective competitor. For each competitor you must enter into your program, the jumpers number (an integer), followed by his best 3 jumps (floating point numbers denoting height in metres). A jumper number of 0 indicates the end of the data. A jumper qualifies for the competition if the average of his 3 jumps is at least 1.5 metres.

Write a program to read the data and print, for each jumper, his number, his average jump (to 2 decimal places) and whether or not he qualifies. In addition, after all data entry is completed, print

  • The number of jumpers who qualify and the number who do not qualify;
  • The jumper with the highest average jump (ignore the possibility of a tie).

KEYBOARD ENTRY EXAMPLE

Sample input and output for keyboard entry:

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Professional Microsoft SQL Server 2014 Integration Services

Authors: Brian Knight, Devin Knight

1st Edition

1118850904, 9781118850909

More Books

Students also viewed these Databases questions

Question

Which two protocols can use YANG models?

Answered: 1 week ago