Question
Write a pseudocode algorithm that will accept a group of numbers and Calculate its sum. The program stops when the user enter 0 as the number
Answers
sum=0
loop
read num
exit if num==0
sum += num
endloop
a bit trickier if more than one value can be on a line of input
loop
read num
exit if num==0
sum += num
endloop
a bit trickier if more than one value can be on a line of input
Related Questions
Develop an algorithm or write pseudocode to determine if a citizen is eligible to vote. The
criteri...
Problem-Solving
1. Develop an algorithm or write pseudocode to determine if a citizen is eligible t...
Develop an algorithm, flow chart and pseudocode that accept as input three unit test scores and a pr...
Write a pseudocode algorithm that will accept age and name of two sisters. Display the age and name...