Task 3: Number Checker

Write a program that asks the user to enter a number. The program should check if the number is positive, negative, or zero and print the appropriate message.

Example Input/Output:
Input: 5 Output: The number is positive.
Input: -3 Output: The number is negative.
Input: 0 Output: The number is zero.

Scroll to Top