Ask questions and get helpful answers.

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. 👍
  2. 👎
  3. 👁
  4. ℹ️
  5. 🚩

1 answer

  1. sum=0
    loop
    read num
    exit loop if num < 0
    sum += num
    end loop
    print sum

    1. 👍
    2. 👎
    3. ℹ️
    4. 🚩

Answer this Question

Related Questions

Still need help?

You can ask a new question or browse existing questions.