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

Other questions on the subject: Engineering

image
Engineering, 04.07.2019 18:20, 1230bering
Select any two (2) areas of applications of chain-drive. (clo4) a)-permanent lubrication necessary b)-hydraulic forklift truck operation c)-rigging and heavy moving materials d)-relatively high maintenance costs e)-costlier than belt drives
Answers: 2
image
Engineering, 04.07.2019 18:20, miguel454545
Along 8-cm diameter steam pipe whose external surface temperature is 900c connects two buildings. the pipe is exposed to ambient air at 70c with a wind speed of 50 km/hr blowing across the pipe. determine the heat loss from the pipe per unit length. (b) air at 500c enters a section of a rectangular duct (15 cm x 20 cm) at an average velocity of 7 m/s. if the walls of the duct are maintained at 100c. a) the length of the tube for an exit temperature of the air to be 40 0c. b)the rate of heat transfer from the air. c) the fan power needed to overcome the pressure drop in this section of the duct.
Answers: 1
image
Engineering, 06.07.2019 02:30, emiller6462
Plot schematically the tensile stress versus strain curves for a typical thermoplastic material at a temperature below its glass transition temperature (tg and at a temperature above its tg, respectively. do the same for a typical thermosetting material. list in a table any differences or similarities between the two materials at t> tg and t < tg, respectively, and relate them to the structures of the two types of polymers
Answers: 3
image
Engineering, 06.07.2019 03:20, dinapearce1403
Write a technical essay (maximum two pages) about stress concentration. and paste from the textbook. instead, read updated material about this phenomenon and provide a technical evaluation of the different techniques to avoid/reduce such phenomenon. consider in your analysis cutting-edge computational techniques such as fea to study and analyze stress concentrations.
Answers: 2
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 in other subjects:

Konu
English, 24.04.2020 19:48