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");
Sanisha Maharjan
Jan 20, 2022