Right here's my code
using namespace std;
cout <<"please enter a number:" <<endl;
consoleinput == 100;
cin >> consoleinput;
cout <<"The number you entered was: " << consoleinput << endl;
cout <<"if you were to quadruple this number your answer would be: " <<consoleinput*4 <<endl;
Okay so you enter a number and it quadruples the number. I want to add a option to close the app, which is what the line
|consoleinput == 100;|
was for, although i've gone wrong. I need to check if the entered number is 100 then it will close, but i cannot figure it out.
Please help thankyou.