Sum of numbers Design a program with a loop that asks the user to enter a series of positive numbers. The user should enter a negative number to signal the end of the series. After all the positive...

1 answer below »
please follow exact instruction on the paper , dont do any flow chart blue color please do plain normal black color


Sum of numbers Design a program with a loop that asks the user to enter a series of positive numbers. The user should enter a negative number to signal the end of the series. After all the positive numbers have been entered, the program should display their sum. Please follow the exact examples for psudocode and flow chart for the same psudocode
Answered Same DayFeb 11, 2021

Answer To: Sum of numbers Design a program with a loop that asks the user to enter a series of positive...

Mythili answered on Feb 13 2021
149 Votes
//Declare a variable to hold each number
// initialize it with 0.
Declare Integer total=0
Declar
e integer usernumber
//Give input and store it in usernumber variable
usernumber = Please enter the first number or a negative number to quit
//continue the loop until usernumber is greater than -1
while usernumber > -1
set total = total +...
SOLUTION.PDF

Answer To This Question Is Available To Download

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here