C program to check whether number is POSITIVE, NEGATIVE or ZERO until user doesn\'t want to exit.
belongs to collection: C programming Looping (while, do while, for) programs
All Answers
total answers (1)
belongs to collection: C programming Looping (while, do while, for) programs
total answers (1)
Check number is Positive, Negative or Zero using C program
Enter an integer number :0 Number is ZERO. Want to check again (press Y/y for 'yes') :Y Enter an integer number :1234 Number is POSITIVE. Want to check again (press Y/y for 'yes') :Y Enter an integer number :-345 Number is NEGATIVE. Want to check again (press Y/y for 'yes') :y Enter an integer number :45 Number is POSITIVE. Want to check again (press Y/y for 'yes') :N Bye Bye!!!need an explanation for this answer? contact us directly to get an explanation for this answer