subject
Engineering, 05.12.2019 23:31 seby951

You will write a racing report program using object-oriented programming with three classes:
reportdriver, racereport, and race. the main method of the program will be in the
class reportdriver and will include a loop that allows you to enter in more than one race and
have reports written out for all the races you enter. (the user will enter one race then get a report
for that race. after that, the user will be asked whether they want to enter in another race and get
another report. this repeats until the user says they do not want to enter in any more races.)

program description

there are two major tasks in this assignment. your first major task is to write a program that
collects three pieces of user input about a race and provides a summary of facts about the race.
input will be via the keyboard and output (i. e., the summary of facts) will be via the display
(a. k.a., console window). the three pieces of user input will be the three individual race times
that correspond the first, second, and third top race finishers; your program will prompt the user to
enter these in via the keyboard. note that you cannot assume these times will be in order; putting
them in order is one of the first things your program should do. thus, your program will need to

do the following:

1. prompt the user for three ints or doubles, which represent the times for the three racers.
2. sort the three scores into ascending order (i. e., least to greatest).
(a) remember, to swap two variables requires a third, temporary variable.
(b) see the math class (documented in savitch ch. 5; see the index for the exact location
. . this is good practice for looking things up) for methods that might you (e. g.,
min and max). note that these methods produce a return value.

(c) output the sorted race scores in order.

3. describe the overlap in times, if any exist. the options will be:
(a) all are tied for first.
(b) some are tied for first.
(c) none are tied for first.

ansver
Answers: 2

Another question on Engineering

question
Engineering, 04.07.2019 18:10
Awall of 0.5m thickness is to be constructed from a material which has average thermal conductivity of 1.4 w/mk. the wall is to be insulated with a material having an average thermal conductivity of 0.35 w/mk so that heat loss per square meter shall not exceed 1450 w. assume inner wall surface temperature of 1200°c and outer surface temperature of the insulation to be 15°c. calculate the thickness of insulation required.
Answers: 3
question
Engineering, 04.07.2019 18:20
A2-m rigid tank initially contains saturated water vapor at 100 kpa. the tank is connected to a supply line through a valve. steam is flowing in the supply line at 600 kpa and 300 c. the valve is opened, and steam is allowed to enter the tank until the pressure in the tank reaches the line pressure, at which point the valve is closed. a thermometer placed in the tank indicates that the temperature at the final state is 200°c. determine (a) the mass of steam that has entered the tank (b) the amount of heat transfer.
Answers: 3
question
Engineering, 04.07.2019 19:20
Air at a pressure of 1atm and a temperature of 40 c is in parallel flow over the top surface of a flat plate that is heated to a uniform temperature of 120 c. the plate has a length of 0.40m (in the flow direction) and a width of 0.15m. the reynolds number based on the plate length is 50, 000. what is the rate of heat transfer from the plate to the air? if the free stream velocity of the air is doubled and the pressure is increased to 10 atm what is the rate of heat transfer?
Answers: 2
question
Engineering, 06.07.2019 03:10
Different between right hand turning tool and left hand turning tool ?
Answers: 1
You know the right answer?
You will write a racing report program using object-oriented programming with three classes:
...
Questions
question
Mathematics, 03.02.2021 01:50
question
Mathematics, 03.02.2021 01:50
question
Mathematics, 03.02.2021 01:50
question
Mathematics, 03.02.2021 01:50
question
English, 03.02.2021 01:50
question
Mathematics, 03.02.2021 01:50
Questions on the website: 13722361