subject
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.

ansver
Answers: 1

Another question on Engineering

question
Engineering, 04.07.2019 18:10
Thermal stresses are developed in a metal when its a) initial temperature is changed b) final temperature is changed c) density is changed d) thermal deformation is prevented e) expansion is prevented f) contraction is prevented
Answers: 2
question
Engineering, 04.07.2019 19:10
What is creep? what is stress relaxation?
Answers: 1
question
Engineering, 04.07.2019 19:10
An engine, weighing 3000 n, is supported on a pedestal mount. it has been observed that the engine induces vibration into the surrounding area through its pedestal at the maximum operating speed. determine the stiffness of the dynamic vibration absorber spring in (n/m) that will reduce the vibration when mounted on the pedestal. the magnitude of the exciting force is 250 n, and the amplitude of motion of the auxiliary mass is to be limited to 2 mm note: in this question type-in right numbers, no decimals, no fractions, no unit. approximate to right number if needed
Answers: 3
question
Engineering, 06.07.2019 03:30
An ammonia compressor has a 5% clearance volume and displacement rate of 80 l/s and pumps against a condensing temperature of 40°c. for two different temperatures of -10°c and 10°c, compute the mass flow rate of refrigerant assuming the clearance volumetric efficiency applies. discharge specific volume corresponding to-10°c and 10°c are 112.5 l/kg and 95 l/kg, respectively.
Answers: 2
You know the right answer?
Write a MARIE program to allow the user to input 8 integers (positive, negative, or zero) and
...
Questions
question
English, 16.12.2020 22:00
question
English, 16.12.2020 22:00
question
Health, 16.12.2020 22:00
question
Mathematics, 16.12.2020 22:00
question
Mathematics, 16.12.2020 22:00
question
Mathematics, 16.12.2020 22:00
question
Social Studies, 16.12.2020 22:00
Questions on the website: 13722367