Engineering
Engineering, 25.04.2020 13:51, mhaniyahn

Write a MARIE program to allow the user to input 8 integers (positive, negative, or zero) and
then find the smallest and the largest and print each of these out.
As an example, if the user enters the following decimal numbers as input (one after the other)
23, -6, 78, 0, 36, 3, -250, –5
the program would output the following values as the maximum and minimum, respectively:
78
-250
Assume that the user will always provide valid numbers as input; that is, do not worry about
dealing with invalid input data.
Write comments within your program so that a reader can understand it easily.

answer
Answers: 1

Other questions on the subject: Engineering

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:20, Doogsterr
For each of the following process: a) sketch the p-v diagram, b)sketch t-s diagram, c) sketch t-v diagram, d) sketch the boundary work on one of the diagrams (a, b or c) and e) sketch the reversible heat transfer on one of the diagrams (a, b or c): 1- isobaric process from compressed liquid to superheated vapor 2- isothermal process from compressed liquid to superheated vapor 3- isentropic process from compressed liquid to superheated vapor
Answers: 3
image
Engineering, 04.07.2019 19:20, anggar20
Air enters a horizontal, constant-diameter heating duct operating at steady state at 290 k, 1 bar, with a volumetric flow rate of 0.25 m°/s, and exits at 325 k, 0.95 bar. the flow area is 0.04 m2. assuming the ideal gas model with k = 1.4 for the air, determine (a) the velocity at the inlet and exit, each in m/s, and (c) the rate of heat transfer, in kw flow rate, in kg/s, (b) the mass kg 0.3
Answers: 2
image
Engineering, 04.07.2019 19:20, littlepotato10
To save energy, the air supply to a 2000 ft office has been shut off overnight and the room temperature has dropped to 40°f. in the morning, the thermostat is reset to 70°f and warm air at 120 f begins to flov in at 200ft'/min. the air is well mixed within the room, and an equal mass flow of air at room temperature (changing with time) is withdrawn through a return duct. the air pressure is nearly 1 atm everywhere. ignoring heat transfer with the surroundings and kinetic and potential energy effects, estimate how long it takes for the room temperature to reach 70°f. plot the room temperature as a function of time.
Answers: 1
Do you know the correct answer?
Write a MARIE program to allow the user to input 8 integers (positive, negative, or zero) and
...

Questions in other subjects:

Konu
Mathematics, 15.04.2021 15:30
Konu
Social Studies, 15.04.2021 15:30