To complete a basic output, you must type
cout << “Put Text Here”;
This will then print in the terminal the text which you have entered into the the cout << function.
For basic input you will need to create a variable, for exampe Num and then type
cin >> Num;
this gives a value to the variable and if you want to display the variable, then you muct type
cout << Num;
Basic input and output by Asa Puls is licensed under a Creative Commons Attribution 4.0 International License.