subject
Engineering, 18.12.2019 19:31 dinarussell74

Create a program named integerfacts whose main() method declares an array of 10 integers. call a method named fillarray to interactively fill the array with any number of values up to 10 or until a sentinel value (999) is entered. if an entry is not an integer, reprompt the user. call a second method named statistics that accepts out parameters for the highest value in the array, lowest value in the array, sum of the values in the array, and arithmetic average. in the main() method, display all the statistics in the following format: note: the inputs were 1, 11, and 999

ansver
Answers: 2

Another question on Engineering

question
Engineering, 04.07.2019 08:10
Which of the following is an easy way to remember the modified “x” tire rotation? a. nondrive wheels straight, cross the drive wheels b. drive wheels straight, cross the nondrive wheels c. drive wheels crossed, nondrive wheels straight d. drive wheels crossed, nondrive wheels crossed
Answers: 1
question
Engineering, 04.07.2019 18:10
The temperature of air decreases as it is compressed by an adiabatic compressor. a)- true b)- false
Answers: 2
question
Engineering, 04.07.2019 18:20
Amixture of slurry and mud is to be pumped through a horizontal pipe of diameter 500 mm. the fluid behaves as a bingham plastic with a yield stress of 30 pa and viscosity 0.04 pa.s. describe the effects of the shear stress through a transverse section of the pipe by plotting the variation in shear stress and velocity profile: (i) just before the slurry starts to move (ii) as the slurry flows when the pressure gradient is double that in part (i)
Answers: 3
question
Engineering, 04.07.2019 19:10
A)-in the process of engineering design, explain the contribution of material selection. b)- explain the procedure of synthesis as is employed in engineering design. c)- is there any relationship between ergonomics and engineering design? explain. d)- safety consideration in engineering design includes human, product and the enviroment . explain how safety will be incorporated into the design?
Answers: 3
You know the right answer?
Create a program named integerfacts whose main() method declares an array of 10 integers. call a met...
Questions