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 ļ¬nal 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
Afull journal bearing has a journal diameter of 27 mm, with a unilateral tolerance of -0.028 mm. the bushing bore has a diameter of 27.028 mm and a unilateral tolerance of 0.04 mm. the l/d ratio is 0.5. the load is 1.3 kn and the journal runs at 1200 rev/min. if the average viscosity is 50 mpa-s, find the minimum film thickness, the power loss, and the side flow for the minimum clearance assembly.
Answers: 1
question
Engineering, 04.07.2019 18:10
Condition monitoring is a major component of. (clo4) a)- predictive maintenance. b)-preventive maintenance c)-proactive maintenance d)-reactive maintenance.
Answers: 1
question
Engineering, 04.07.2019 18:20
Air flows over a heated plate Ć t a velocity of 50m/s. the local skin factor coefficient at a point on a plate is 0.004. estimate the local heat transfer coefficient at this point.the following property data for air are given: density = 0.88kg/m3 , viscosity 2.286 x 10 ^-5 kgm/s , k = 0.035w/mk ,cp = 1.001kj/kgk. use colburn reynolds analogy.
Answers: 1
question
Engineering, 06.07.2019 04:10
Steam enters a converging nozzle at 3.0 mpa and 500Ā°c with a negligible velocity, and it exits at 1.8 mpa. for a nozzle exit area of 32 cm2, determine the exit velocity, mass flow rate, and exit mach number if the nozzle: is isentropic (a) (b) has an efficiency of 94 percent
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
English, 27.05.2020 21:10
question
English, 27.05.2020 21:10
question
Spanish, 27.05.2020 21:10
question
Mathematics, 27.05.2020 21:10
question
English, 27.05.2020 21:10
Questions on the website: 13722363