The syntax for an output statement in C++ is cout << “Text” << data << endl;
Output statement sends text and data to the screen or display.
The syntax for an input statement in C++ is cin >> data1 >> data2;
Input statements reads in data from the keyboard.
Software used in programming C++ programs
Microsoft Visual Studio is used programming C++ programs in Microsoft Windows. Click here to download Microsoft Visual Studio for Windows Desktop.
Microsoft Visual Studio 2013 tutorial