subject

Write a Marie program named: PROG2.max that will Input a variable named: Max. (Note the file extension must be: .max) If Max is equal to zero, Halt the program. Output the variable Max and then input value(s), adding them to Sum until Sum > Max. You should Output each sum as it is incremented. When Sum > Max, reset variable(s) and start program again. Examples: Input Output Result (Nlax=) 50 50 Store Max (Incr=) 25 25 Incr; Sum < Max, get another (Incr=) 25 50 Incr; Sum = Max, get another (Incr=) 25 75 Incr; Sum > Max, Reset Sum = 0 25 25 Store Max 10 10 Incr; Sum < Max, get another 10 20 her; Sum < Max, get another 10 30 Incr; Sum > Max, Reset Sum = 0 0 Halt (No output!)

ansver
Answers: 2

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 05:00
This program will store roster and rating information for a soccer team. coaches rate players during tryouts to ensure a balanced team. (1) prompt the user to input five pairs of numbers: a player's jersey number (0 - 99) and the player's rating (1 - 9). store the jersey numbers in one int vector and the ratings in another int vector. output these vectors (i.e., output the roster). (3 pts) ex: enter player 1's jersey number: 84 enter player 1's rating: 7 enter player 2's jersey number: 23 enter player 2's rating: 4 enter player 3's jersey number: 4 enter player 3's rating: 5 enter player 4's jersey number: 30 enter player 4's rating: 2
Answers: 1
question
Computers and Technology, 23.06.2019 04:31
Q14 what is most important for you to choose before you build a network? a. private network b. nos c. network media d. network protocol e. directory service
Answers: 1
question
Computers and Technology, 23.06.2019 14:00
In which job role will you be creating e-papers, newsletters and preiodicals
Answers: 1
question
Computers and Technology, 23.06.2019 18:30
Janice recently received her college degree and is looking for a job. she is worried that since she just finished school, she will be required to repay her perkins and direct subsidized loans immediately. janice pulls out the paperwork she signed and reviews it again for repayment information. after reading all of the information, janice discovers that
Answers: 2
You know the right answer?
Write a Marie program named: PROG2.max that will Input a variable named: Max. (Note the file extensi...
Questions
Questions on the website: 13722367