subject
Engineering, 28.11.2019 04:31 jjmo

Aparticular talent competition has 5 judges, each of whom awards a score between 0 and 10 to each performer. fractional scores, such as 8.3, are allowed. a performer’s final score is determined by dropping the highest and lowest score received, then averaging the 3 remaining scores. write a program that uses these rules to calculate and display a contestant’s score. it should include the following functions: • getjudgedata() should ask the user for a judge’s score, store it in a parameter variable, and validate it. this function should be called by main program once for each of the 5 judges. • calcscore(score1, score2, score3, score4, score5) should calculate and return the average of the 3 scores that remain after dropping the highest and lowest scores the performer received. this function should be called just once by main and should be passed the 5 scores. two additional functions, described below, should be called by calcscore, which uses the returned information to determine which of the scores to drop. • findlowest(score1, score2, score3, score4, score5) should find and return the lowest of the 5 scores passed to it. note: you are not allowed to use min() function • findhighest(score1, score2, score3, score4, score5) should find and return the highest of the 5 scores passed to it. note: you are not allowed to use max() function

ansver
Answers: 3

Another question on Engineering

question
Engineering, 04.07.2019 18:10
Afluid flows with a velocity field given by v=(x/t)i.. determine the local and convective accelerations when x=3 and t=1.
Answers: 2
question
Engineering, 04.07.2019 18:20
The characteristic roots of a dynamic system are: 1.7920 1.8160 i, -1.7920 1.8160 i, -0.4160 what is the order of this system? what are the settling time and damping ratio of the system?
Answers: 3
question
Engineering, 04.07.2019 19:10
Arigid tank contains 10 kg of air at 137 kpa (abs) and 21°c. more air is added to the tank until the pressure and temperature rise to 242 kpa (abs) and 32°c, respectively. determine the amount of air added to the tank. [r-0.287 kj/kg k]
Answers: 3
question
Engineering, 04.07.2019 19:20
Apiping systems consists of 6 m of 6-std type k and 12 m of 4-std type k, both drawn copper tubing. the system conveys ethylene glycol at a rate of 0.013 m3/s. the pressure drop across the system is to be calculated. there are two 90° elbows in the 6-in pipe, a reduction from the 6-in pipe to the 4-in pipe and four 90° elbows in the 4-in pipe. all fittings are soldered (same as flanged) and regular. the inlet and outlet of the system are at the same height.
Answers: 1
You know the right answer?
Aparticular talent competition has 5 judges, each of whom awards a score between 0 and 10 to each pe...
Questions
question
Business, 23.03.2020 02:06
question
Mathematics, 23.03.2020 02:08
question
English, 23.03.2020 02:08
question
Mathematics, 23.03.2020 02:08
question
SAT, 23.03.2020 02:09
question
Mathematics, 23.03.2020 02:09
question
Mathematics, 23.03.2020 02:09
Questions on the website: 13722363