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 18:40
Johnson enterprises uses a computer to handle its sales invoices. lately, business has been so good that it takes an extra 3 hours per night, plus every third saturday, to keep up with the volume of sales invoices. management is considering updating its computer with a faster model that would eliminate all of the overtime processing.
Answers: 2
question
Computers and Technology, 24.06.2019 22:00
Ican’t open these when it’s just a comment. someone pls explain why this is happening
Answers: 1
question
Computers and Technology, 25.06.2019 04:30
Consider a list of full names formatted “firstname lastname”, like ["jules verne", "alexandre dumas", "maurice druon"]. write a list comprehension that produces a list with the full names in the format “lastname, firstname”. the resulting list should look like ['verne, jules', 'dumas, alexandre', 'druon, maurice']. the simplest solution may involve a nested comprehension: [ …. for … in [ … for … in … ]].
Answers: 3
question
Computers and Technology, 25.06.2019 10:00
*jenny is preparing a presentation on the health statistics of the 10 most populated countries. she wants to apply a blinking effect to the names of the countries, and a motion effect between the exit and entry of every slide. which options should she use? jenny should use the option to apply a special blinking effect to the names of the countries and the option to apply a motion effect between the exit and entry of every slide.
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
question
Mathematics, 30.04.2021 17:10
question
Mathematics, 30.04.2021 17:10
question
Business, 30.04.2021 17:10
question
English, 30.04.2021 17:20
question
Chemistry, 30.04.2021 17:20
question
Mathematics, 30.04.2021 17:20
question
Mathematics, 30.04.2021 17:20