Answer to Question #313023 in C++ for Christine Traya

Question #313023

create a program that will ask the user two numbers and then the program will display the original arrangements of the two numbers and also it will display the swap arrangement of two numbers on the screen



// Author: Mr jake R. pomperada, BSCS, MAED- IT


// Date: august 14, 2018 Tuesday


// Location: Bacolod City, Negros occidental


// Website: http://www.jakerpompereda.com



1
Expert's answer
2022-03-17T08:55:44-0400

Here is my program:

int main()
{
	int x;
    int y;
	cin >> x;
	cin >> y;
	cout << y << endl;
	cout << x << endl;
}

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!

Leave a comment