Asked by Hakeem

Create a running sum. A user will enter umbers that willbe added to the sum and when a negative number is encountered adding numbers and write out the final result. You're going to create a flow chart and pseudo code

Answers

Answered by oobleck
sum=0
loop
read num
exit loop if num < 0
sum += num
end loop
print sum
There are no AI answers yet. The ability to request AI answers is coming soon!

Related Questions