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:10
Consider a large isothermal enclosure that is maintained at a uniform temperature of 2000 k. calculate the emissive power of the radiation that emerges from a small aperture on the enclosure surface. what is the wavelength ? , below which 10% of the emission is concentrated? what is the wavelength ? 2 above which 10% of the emission is concentrated? determine the wavelength at which maximum spectral emissive power occurs. what is the irradiation incident on a small object placed inside the enclosure?
Answers: 2
question
Engineering, 04.07.2019 18:10
The thermal expansion or contraction of a given metal is a function of the f a)-density b)-initial temperature c)- temperature difference d)- linear coefficient of thermal expansion e)- final temperature f)- original length
Answers: 2
question
Engineering, 04.07.2019 18:20
Inspection for bearing condition will include: (clo4) a)-color b)-smell c)-size d)-none of the above
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
Spanish, 26.10.2020 20:00
question
Mathematics, 26.10.2020 20:00
question
Advanced Placement (AP), 26.10.2020 20:00
question
English, 26.10.2020 20:00
question
Mathematics, 26.10.2020 20:00
question
Mathematics, 26.10.2020 20:00
Questions on the website: 13722367