chap 2 notes 28 - ESSENTIAL C++ STATEMENTS Print via cout...

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

View Full Document Right Arrow Icon
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: ESSENTIAL C++ STATEMENTS Print via cout and the Insertion Operator, << prints an expression list on the screen. x = 2.5; cout << "Hello cout << x; cout << "x = " cout << "x = " cout << "x = " cout << "x = " // “\n”,’\n’ & world !!!"; << x; << x << "\n"; << x << '\n'; << x << endl; endl all mean new line 28 ...
View Full Document

Ask a homework question - tutors are online