previous | start | next

Number Types (Syntax 2.1: Output Statement)

Syntax 2.1 : Output Statement

cout << expression1 << expressioun2 << ... << expressionn;
Example:
cout << pennies;
cout << "Total value = " << total << "\n";
Purpose: Prints the values of one or more expressions.


previous | start | next