Use the top-down modular approach and pseudocode to design a suitable program to solve it. Where appropriate, use defensive programming techniques. Provide both the pseudocode and flow chart algorithms.
1. Input a number entered by the user and display "positive" if it is greater than zero, "negative" if it is less than zero, and "zero" if it is equal to zero.