Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

write in C# Scenario: You are in charge of a men's high jump competition and you have data on each prospective competitor. For each competitor

write in C# image text in transcribed
Scenario: You are in charge of a men's high jump competition and you have data on each prospective competitor. For each competitor you must enter into your program, the jumper's number (an integer), followed by his best 3 jumps (floating point numbers denoting height in metres). A jumper number of O 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. I 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: Please enter a competitor number (0 to quit): 546 Please enter 3 jump heights: 1.5 2.1 1.2 546 1.60 qualifies Please enter a competitor number (0 to quit): 984 Please enter 3 Jump heights: 1.7 1.2 0.78 984 1.23 does not qualify Please enter a competitor number (O to quit): 364 Please enter 3 jump heights: 0.98 1.1 1.8 tes) Focus

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_2

Step: 3

blur-text-image_3

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

Database Principles Programming And Performance

Authors: Patrick O'Neil, Elizabeth O'Neil

2nd Edition

1558605800, 978-1558605800

More Books

Students also viewed these Databases questions

Question

i need correct answrrs 2 . .

Answered: 1 week ago

Question

Compute the derivative f(x)=(x-a)(x-b)

Answered: 1 week ago

Question

What is the purpose of the Salary Structure Table?

Answered: 1 week ago

Question

What is the scope and use of a Job Family Table?

Answered: 1 week ago