How To Check Positive And Negative Number In C
How To Check Positive And Negative Number In C . Int main() { signed long num1 = 0; #include using namespace std; C Program To Check Number Is Positive Or Negative from www.programmingwithbasics.com } else { std::cout << the number. #include using namespace std; That is, the variable, pos (corresponds to positive number's occurrence) holds its value as 5.