Ask the user to enter an integer and determines


Provide an example usage of the if...else statement code, along with the declaration of any constants/variables used by the if...else code.

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. 
example:
#include

using namespace std;

int main(){

int count;

cout <<"Enter Integer to determine sign: " << endl;
cin >> count;

if (count > 0)
cout << count << " is a Positive Number! " << endl;

else
cout << count << " is a Negative Number! " << endl;

cout << endl << endl;
return 0;

}

This program ask the user to enter an integer and determines if the number is negative or positive.


c++ format only please 

Request for Solution File

Ask an Expert for Answer!!
C/C++ Programming: Ask the user to enter an integer and determines
Reference No:- TGS085999

Expected delivery within 24 Hours