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, 04.07.2019 18:10
Apump is used to circulate hot water in a home heating system. water enters the well-insulated pump operating at steady state at a rate of 0.42 gal/min. the inlet pressure and temperature are 14.7 lbf/in.2, and 180°f, respectively; at the exit the pressure is 60 lbf/in.2 the pump requires 1/15 hp of power input. water can be modeled as an incompressible substance with constant density of 60.58 lb/ft3 and constant specific heat of 1 btu/lb or. neglecting kinetic and potential energy effects, determine the temperature change, in °r, as the water flows through the pump.
Answers: 1
question
Engineering, 04.07.2019 18:10
Hydraulic fluid with a sg. of 0.78 is flowing through a 1.5 in. i.d. pipe at 58 gal/min. the fluid has an absolute viscosity of 11.8 x 105 lbf-sec/ft2. is the flow laminar, turbulent or within the critical range? give both a numerical reynolds number and a term answer.
Answers: 3
question
Engineering, 04.07.2019 18:10
Ifa component is made of two or more materials with different modulus of elasticity (e), it is called a composite member and we calculate the factor·n". mention the formula for calculating n". also, ifn> 1, explain what will happen to the 1. transformed.gi) ifn 1, what will happen to the material when transformed material when
Answers: 1
question
Engineering, 04.07.2019 18:10
Which one from below is not one of the reasons of planning failures? (clo3) a)-planner is careless. b-planner spend less time in the field but more time on the desk c)-planner is not qualified d)-planner does not have sufficient time to properly plan
Answers: 3
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, 04.02.2021 01:00
question
Mathematics, 04.02.2021 01:00
Questions on the website: 13722362