Question: CAN YOU PLEASE HELP ME WITH THIS CODE. AND PLEASE GIVE SOME EXPLNATION. #include using std::cout; using std::cin; using std::endl; int main() { int input;

CAN YOU PLEASE HELP ME WITH THIS CODE. AND PLEASE GIVE SOME EXPLNATION.

#include

using std::cout;

using std::cin;

using std::endl;

int main()

{

int input;

cout<< " Please enter an integer: ";

cin >> input;

if (input != 7)

cout << " Hello "<

if (input == 7)

cout << " Goodbye" << endl;

system("PAUSE");

return 0;

}

Assume that the user enters 5 for input

PART II: Programming

4. Write a C++ program that inputs two integers from the keyboard, and prints the sum, product, difference, and quotient of these numbers

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!