subject
Engineering, 13.11.2019 04:31 zitterkoph

Suppose you need to read 100 numbers, compute their average, and find out how many numbers are above the average. your program first reads the numbers and computes their average, then compares each number with the average to determine whether it is above the average. in order to accomplish this task, the numbers must all be stored in variables. you have to declare 100 variables and repeatedly write almost identical code 100 times. writing a program this way would be impractical. an array, which stores a fixed-size sequential collection of elements of the same type, can be used

ansver
Answers: 2

Another question on Engineering

question
Engineering, 03.07.2019 14:10
The y form of iron is known as: a) ferrite b) cementite c) perlite d) austenite
Answers: 3
question
Engineering, 04.07.2019 18:10
Give heat transfer applications for the following, (i) gas turbines (propulsion) ) gas turbines (power generation). (iii) steam turbines. (iv) combined heat and power (chp). (v) automotive engines
Answers: 1
question
Engineering, 04.07.2019 18:10
Which of the following refers to refers to how well the control system responds to sudden changes in the system. a)-transient regulation b)- distributed regulation c)-constant regulation d)-steady-state regulation
Answers: 1
question
Engineering, 04.07.2019 19:20
At steady state, air at 200 kpa, 325 k, and mass flow rate of 0.5 kg/s enters an insulated duct having differing inlet and exit cross-sectional areas. the inlet cross-sectional area is 6 cm2. at the duct exit, the pressure of the air is 100 kpa and the velocity is 250 m/s. neglecting potential energy effects and modeling air as an 1.008 kj/kg k, determine ideal gas with constant cp = (a) the velocity of the air at the inlet, in m/s. (b) the temperature of the air at the exit, in k. (c) the exit cross-sectional area, in cm2
Answers: 2
You know the right answer?
Suppose you need to read 100 numbers, compute their average, and find out how many numbers are above...
Questions
question
Mathematics, 10.10.2021 08:40
question
Mathematics, 10.10.2021 08:40
question
Mathematics, 10.10.2021 08:40
Questions on the website: 13722367