2 Answers
+ 3
Gururaj Rekhawar that won't work to check for positive or negative numbers, you can just use if(n>0) printf("its positive"); else printf("its negative"); and follow what ~ swim ~ have explained too
3rd Aug 2019, 7:40 AM
✳AsterisK✳
✳AsterisK✳ - avatar