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 03:10
What precautions should you take to prevent injuries when dealing with heavy loads?
Answers: 1
![question](/tpl/images/cats/User.png)
Engineering, 04.07.2019 18:10
Aplate clutch has a single pair of mating friction surfaces 250-mm od by 175-mm id. the mean value of the coefficient of friction is 0.30, and the actuating force is 4 kn. a) find the maximum pressure and the torque capacity using the uniform-wear model. b) find the maximum pressure and the torque capacity using the uniform-pressure model.
Answers: 3
![question](/tpl/images/cats/User.png)
Engineering, 04.07.2019 18:10
Which of the following controllers anticipates the future from the slope of errors over time? a)-proportional b)-on/off c)-integral d)-derivative.
Answers: 2
![question](/tpl/images/cats/User.png)
Engineering, 04.07.2019 18:20
Vibration monitoring this technique uses the noise or vibration created by mechanical equipment and in seme cases by plant systems to detemine their actual condtion. a)- true b)- false
Answers: 2
You know the right answer?
Questions
![question](/tpl/images/cats/himiya.png)
Chemistry, 23.08.2019 01:30
![question](/tpl/images/cats/informatica.png)
Computers and Technology, 23.08.2019 01:30
![question](/tpl/images/cats/en.png)
![question](/tpl/images/cats/mat.png)
Mathematics, 23.08.2019 01:30
![question](/tpl/images/cats/istoriya.png)
![question](/tpl/images/cats/istoriya.png)
![question](/tpl/images/cats/en.png)
![question](/tpl/images/cats/en.png)
English, 23.08.2019 01:30
![question](/tpl/images/cats/istoriya.png)
![question](/tpl/images/cats/mat.png)
Mathematics, 23.08.2019 01:30
![question](/tpl/images/cats/biologiya.png)
Biology, 23.08.2019 01:30
![question](/tpl/images/cats/mat.png)
Mathematics, 23.08.2019 01:30
![question](/tpl/images/cats/mat.png)
Mathematics, 23.08.2019 01:30
![question](/tpl/images/cats/geografiya.png)
![question](/tpl/images/cats/obshestvoznanie.png)
![question](/tpl/images/cats/obshestvoznanie.png)
Social Studies, 23.08.2019 01:30
![question](/tpl/images/cats/biologiya.png)
Biology, 23.08.2019 01:30
![question](/tpl/images/cats/biologiya.png)
![question](/tpl/images/cats/en.png)