Course Solutions Uncategorized (Solved) : 1write C Program Include Following Codes Compile Run Program Int X 5 Y 5 Cout X Y Endl Q30939064 . . . .

(Solved) : 1write C Program Include Following Codes Compile Run Program Int X 5 Y 5 Cout X Y Endl Q30939064 . . . .

 

1.Write a C++ program to include the following codes, compileand run your program.
int x = 5, y = 5;
cout << x << ” ” << y << endl;
cout << ++x << ” ” << –y << endl; //prefix
cout << x << ” ” << y << endl;
cout << x++ << ” ” << y– << endl; //postfix
cout << x << ” ” << y << endl;

and please upload an output from scree

Expert Answer


An answer will be send to you shortly. . . . .

Leave a Reply

Your email address will not be published. Required fields are marked *

Related Post