Is the number positive or negative, or is it zero? Problem : Write a flow chart for a program that asks a user for a number, reads it, and tells you if it is positive or negative. If the number is zero, display that. Be sure to include the original value in the output.

    Algorithm :
  1. Start
  2. Ask user for a number
  3. Input the number
  4. ask if the number is equal to 0
  5. if it is display "the number is zero"
  6. if it is not then :
  7. ask if the number is greater than 0
  8. if the answer is yes
  9. display the number is positive
  10. if the answer is no
  11. display the number is negative
  12. Stop

Flowchart :
Untitled 2