RakeshMgs

Integer is Positive or Negative

 

Integer is Positive or Negative

#include <stdio.h> void main() { int num; printf("Enter a number: \n"); scanf("%d", &num); if (num > 0) printf("%d is a positive number \n", num); else if (num < 0) printf("%d is a negative number \n", num); else printf("0 is neither positive nor negative"); }

output 1


output 2



рдЖрдкрдХो рдЖрд░्рдЯिрдХрд▓ рдХैрд╕ा рд▓рдЧा? рдЕрдкрдиी рд░ाрдп рдЕрд╡рд╢्рдп рджें
Please don't Add spam links,
if you want backlinks from my blog contact me on rakeshmgs.in@gmail.com