subject
Engineering, 21.02.2020 17:21 loganferg5429

You want to know your grade in Computer Science, so write a program that continuously takes grades between 0 and 100 to standard input until you input "stop", at which point it should print your average to standard output. Instructor Notes: Make sure to initialize counter and total to 0 Read the grades between 0 and 100: grade = input() Use while loop as long as the grades input is not equal to "stop" Make sure to total int(grades) Increment counter by one input the grade again Finally, print the average: total/counter

ansver
Answers: 1

Another question on Engineering

question
Engineering, 04.07.2019 18:10
Abrake has a normal braking torque of 2.8 kip in and heat-dissipating cast-iron surfaces whose mass is 40 lbm. suppose a load is brought to rest in 8.0 s from an initial angular speed of 1600 rev/min using the normal braking torque; estimate the temperature rise of the heat dissipating surfaces.
Answers: 3
question
Engineering, 04.07.2019 18:10
Water at the rate of 1 kg/s is forced through a tube with a 2.5 cm inner diameter. the inlet water temperature is 15°c, and the outlet water temperature is 50°c. the tube wall temperature is 14°c higher than the local water temperature all along the length of the tube. what is the length of the tube?
Answers: 3
question
Engineering, 04.07.2019 19:10
An electric kettle is made out of stainless steel, weighs two pounds (when empty) and is equipped with a heating element that consumes 2 kw of electricity. assuming that the water and the kettle are at the same uniform temperature at any moment of time, calculate the shortest possible time to bring 2 quarts of water from room temperature to the onset of boiling
Answers: 2
question
Engineering, 04.07.2019 19:20
Acompressor compresses a gas, a pump compresses a liquid. for a given pressure ratio, why does it take more work to compress a gas in a compressor than a liquid in a pump? a)- for a given pressure ratio the average specific volume for a gas is much higher than the average specific volume for a liquid. b)- there is no difference. the only difference is the amount of heat generated (not work) c)- for a given pressure ratio the average volurge for a gas is much higher than the average volume for a liquid. d)-there is no difference
Answers: 3
You know the right answer?
You want to know your grade in Computer Science, so write a program that continuously takes grades b...
Questions
question
Mathematics, 20.09.2020 18:01
question
Spanish, 20.09.2020 18:01
question
Mathematics, 20.09.2020 18:01
question
Chemistry, 20.09.2020 18:01
question
Mathematics, 20.09.2020 18:01
question
Mathematics, 20.09.2020 18:01