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: 1

Another question on Computers and Technology

question
Computers and Technology, 23.06.2019 04:31
This graph compares the cost of room and board at educational institutions in texas.
Answers: 1
question
Computers and Technology, 23.06.2019 20:40
Instruction active describing list features which statements accurately describe the features of word that are used to create lists? check all that apply. the tab key can be used to create a sublist. the enter key can be used to add an item to a list. the numbering feature allows for the use of letters in a list. the numbering feature can change the numbers to bullets in a list. the multilevel list feature provides options for different levels in a list.
Answers: 2
question
Computers and Technology, 24.06.2019 01:30
How can you make your column headings stand out?
Answers: 1
question
Computers and Technology, 24.06.2019 06:50
What are the things you are considering before uploading photos on social media?
Answers: 1
You know the right answer?
Write a Marie program named: PROG2.max that will Input a variable named: Max. (Note the file extensi...
Questions
question
Mathematics, 18.01.2021 01:00
question
Mathematics, 18.01.2021 01:00
question
Mathematics, 18.01.2021 01:00
question
Social Studies, 18.01.2021 01:00
Questions on the website: 13722360