Write a simple code fragment that will check if a number is positive or negative.

4 years ago
C Programming

If (num>=0)

printf("number is positive"); else

printf ("number is negative");

0
Sanisha Maharjan
Jan 20, 2022
More related questions

Questions Bank

View all Questions