Write a MARIE program to allow the user to input 8 integers (positive, negative, or zero) and
...
![subject](/tpl/images/cats/User.png)
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](/tpl/images/cats/User.png)
Answers: 1
![](/tpl/images/ask_question.png)
![](/tpl/images/ask_question_mob.png)
Another question on Engineering
![question](/tpl/images/cats/User.png)
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](/tpl/images/cats/User.png)
![question](/tpl/images/cats/User.png)
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](/tpl/images/cats/User.png)
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?
Questions
![question](/tpl/images/cats/en.png)
![question](/tpl/images/cats/istoriya.png)
History, 16.12.2020 22:00
![question](/tpl/images/cats/en.png)
English, 16.12.2020 22:00
![question](/tpl/images/cats/en.png)
English, 16.12.2020 22:00
![question](/tpl/images/cats/health.png)
Health, 16.12.2020 22:00
![question](/tpl/images/cats/mat.png)
![question](/tpl/images/cats/health.png)
Health, 16.12.2020 22:00
![question](/tpl/images/cats/mat.png)
Mathematics, 16.12.2020 22:00
![question](/tpl/images/cats/himiya.png)
Chemistry, 16.12.2020 22:00
![question](/tpl/images/cats/istoriya.png)
![question](/tpl/images/cats/mat.png)
Mathematics, 16.12.2020 22:00
![question](/tpl/images/cats/mat.png)
Mathematics, 16.12.2020 22:00
![question](/tpl/images/cats/mat.png)
![question](/tpl/images/cats/istoriya.png)
History, 16.12.2020 22:00
![question](/tpl/images/cats/mat.png)
Mathematics, 16.12.2020 22:00
![question](/tpl/images/cats/en.png)
![question](/tpl/images/cats/mat.png)
Mathematics, 16.12.2020 22:00
![question](/tpl/images/cats/obshestvoznanie.png)
Social Studies, 16.12.2020 22:00
![question](/tpl/images/cats/mkx.png)
Arts, 16.12.2020 22:00