Professional Documents
Culture Documents
Run Program
Program Output
Source File
Object File
Program
An ordered list of events to take place or procedures to
be followed; a schedule
Computer Program
A collection of instructions that tell the computer to do
specific activity.
A program is generally known as "software
Application programs
System Software
Program
the terms software, application, program and instruction
are synonymous in the sense that they all tell the
computer to do some specific activity.
Memory
10
cout
cin
int number;
Computer
Strings
Systems and
Programming
Variables are used for manipulating such type
of data
Variable declaration
Variable declaration
int x;
char ch;
float y;
int number;
string subject;
Boolean
Boolean literals
There are only two valid Boolean values: true and false.
These can be expressed in C++ as values of type bool
by using the Boolean literals true and false.
Example:
bool flag1, flag2;
flag1 = false;
flag2 = true;