subject
Engineering, 19.11.2019 17:31 chey1603

Write a c++ program that asks the user to type a positive integer. when the user types a negative value the program writes negative and asks for another value. when the user types 0 that means that the last value has been typed and the program must write the average of the positive integers. if the number of typed values is zero the program writes 'nil average'.

ansver
Answers: 3

Other questions on the subject: Engineering

image
Engineering, 03.07.2019 14:10, bryneosburn
Line joining liquid phase with liquid and solid phase mixture is known as: a) liquidus b) solidus c) tie line d) none of the mentioned
Answers: 2
image
Engineering, 04.07.2019 18:10, yasminothman02
An air conditioning system consist of a 5 cm diameter pipe, operating at a pressure of 200 kpa. the air initially enters the pipe at 15°c with a velocity of 20 m/s and relative humidity of 80%. if the heat supply throughout the process is 960 w, determine the relative humidity and the temperature at the outlet
Answers: 3
image
Engineering, 04.07.2019 18:10, heidiburgos1own6c0
Fluids at rest possess no flow energy. a)- true b)- false
Answers: 3
image
Engineering, 04.07.2019 18:10, tjeffers90028
Refrigerant 134a enters an insulated compressor operating at steady state as saturated vapor at -26°c with a volumetric flow rate of 0.18 m3/s. refrigerant exits at 9 bar, 70°c. changes in kinetic and potential energy from inlet to exit can be ignored. determine the volumetric flow rate at the exit, in m3/s, and the compressor power, in kw.
Answers: 1
You know the right answer?
Write a c++ program that asks the user to type a positive integer. when the user types a negative va...

Questions in other subjects:

Konu
Mathematics, 03.08.2019 12:30
Konu
Mathematics, 03.08.2019 12:30
Konu
Chemistry, 03.08.2019 12:30