FirstCPPProgram - cout <<...

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
#include <iostream> # using namespace std; u int main() { cout << "My first C++ program." << endl; cout << "The sum of 2 and 3 = " << 5 << endl;
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: cout &lt;&lt; &quot;7 + 8 = &quot; &lt;&lt; 7 + 8 &lt;&lt; endl; return 0; }...
View Full Document

Ask a homework question - tutors are online