You do NOT need to write an entire program.
Post your if ... else statement example as a REPLY to this message.
Warning: Please ensure that your example has not been previously presented in this course, that it is not related to this week's programming assignments, and that it has not already been posted by another student.
using namespace std;
cout <<"Enter Integer to determine sign: " << endl;
cin >> count;
if (count > 0)
cout << count << " is a Positive Number! " << endl;
cout << count << " is a Negative Number! " << endl;
cout << endl << endl;
This program ask the user to enter an integer and determines if the number is negative or positive.
c++ format only please
The answer is... View the full answer