subject
Engineering, 17.12.2019 21:31 robert7248

Write a program that allows the user to enter 100 integers. each integer will be in the range from 1 to 5 inclusive. after reading the inputs, output five values: the number of times a 1 was entered, the number of times a 2 has entered, the number of times a 3 was entered, etc. do this with an array, not with five different int variables. there should be no if statements in your answer.

ansver
Answers: 1

Another question on Engineering

question
Engineering, 03.07.2019 15:10
Apiston-cylinder with a volume of 0.25 m3 holds 1 kg of air (r 0.287 k/kgk) at a temperature of 100 c. heat transfer to the cylinder causes an isothermal expansion of the piston until the volume triples. how much heat is added to the piston-cylinder?
Answers: 3
question
Engineering, 04.07.2019 18:10
Burgers vector is generally parallel to the dislocation line. a)-true b)-false
Answers: 2
question
Engineering, 04.07.2019 18:20
Inadequate stores control is not an obstacle to effective work order system. (clo4) a)-true b)-false
Answers: 3
question
Engineering, 04.07.2019 18:20
Derive the correction factor formula for conical nozzle i=-(1+ cosa) and calculate the nozzle angle correction factor for a nozzle whose divergence hal-fangle is 13 (hint: assume that all the mass flow originates at the apex of the cone.
Answers: 3
You know the right answer?
Write a program that allows the user to enter 100 integers. each integer will be in the range from 1...
Questions
question
Mathematics, 26.02.2021 01:40
question
History, 26.02.2021 01:40
question
Mathematics, 26.02.2021 01:40
question
Mathematics, 26.02.2021 01:40
Questions on the website: 13722359