Computers and Technology
Computers and Technology, 26.09.2021 06:40, Abbymay17

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!)

answer
Answers: 1

Other questions on the subject: Computers and Technology

image
Computers and Technology, 22.06.2019 15:00, nika0001
When designing content as part of your content marketing strategy, what does the "think" stage represent in the "see, think, do, care" framework?
Answers: 3
image
Computers and Technology, 23.06.2019 13:30, gamingisfun
Me ! evelyn is a manager in a retail unit. she wants to prepare a report on the projected profit for the next year. which function can she use? a. pmt b. round c. division d. what-if analysis
Answers: 2
image
Computers and Technology, 24.06.2019 07:00, AnaiyaKirksey8
You are most likely to automatically encode information about
Answers: 1
image
Computers and Technology, 24.06.2019 15:00, mbede002
Who introduced the concept of combining artificial and natural light in the studio
Answers: 1
Do you know the correct answer?
Write a Marie program named: PROG2.max that will Input a variable named: Max. (Note the file extensi...

Questions in other subjects:

Konu
History, 01.02.2021 22:00
Konu
Health, 01.02.2021 22:00