Write a C program that accepts a number and detemines whether the number is positive, negative or a zero. It displays the message "Positive!","Negative!" or "Zero!". Furthermore, if the number is...


Write a C program that accepts a number and detemines whether the number is positive, negative or a zero. It displays the message "Positive!","Negative!" or "Zero!". Furthermore, if the number is positive, it determines whether it is even or odd and displays either "Even!" or "Odd!".


For example:<br>Input Result<br>5<br>Positive!Odd!<br>8<br>Positive!Even!<br>-1<br>Negative!<br>Zero!<br>

Extracted text: For example: Input Result 5 Positive!Odd! 8 Positive!Even! -1 Negative! Zero!

Jun 09, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here