sum=0
loop
read num
exit loop if num < 0
sum += num
end loop
print sum
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
1 answer