
Lesson 2-3: Sending Information to the Output Stream
C++ Syntax and Semantics, and the Program Development Process | 35
Name __________________________________________ Date _______________________
Section _________________________________________
Lesson 2-3 focuses on constructing output statements. Program Shell is the outline of a
program. Use this shell for Exercises 1 through 3.
// Program Shell
#include <iostream>
using namespace std;
int main ()
{
return 0;
}
Exercise 1: Write a program to print the following information single spaced on the screen. Use
literal constants in the output statements for each of the data items to be written on the screen. ...