going through a tutorial and it says to try writing code for:
(c) a program which reads in two integers on one line and displays them in reverse order. If the input was 3 99, the output should be 99 3.
The answer is:
c) #include <iostream>
using namespace std;
int main()
{ cout << "Please key in two numbers separated by a space: ";
int x, y;
cin >> x >> y;
cout << y << " " << x << endl;
}
question is regarding " " on bottom. Elsewhere it says to use "" for words. To add a space between the 2 numbers, is the space classed as words?