CS 150 Introduction to C++ Programming - Spring 1998 |
|---|
[ Home | Lecture Notes| WebTutor | WebTutor Site Map]
The purpose of this exercise is to shown the structure of a simple C++ program.
Key Concepts are:
See if you can identify these concepts in the following program.
Line Number |
Program |
1 2 3 4 5 6 7 8 |
//Description: Simple C++ program
#include <iostream.h>
int main()
{
cout <<" Welcome to cs150 " <<endl;
return 0;
}
|
Answer the following questions: