New Text Document

You might also like

Download as txt, pdf, or txt
Download as txt, pdf, or txt
You are on page 1of 1

iostream: Pre processor directive. Program needs to use it later on.

namespace std: standard library includes in c++.


int main(): A function. "int" shows type of data it contains.
void: returns void. When you don't want any thing in return.
return 0 : Main function should return 0 which shows that program runs
without any error. Everything above rans fine.
endl or \n : Both can be use for changing the lines.
% : It will give the remainder.
printCAP(): pintCAP is a function name and () is called parameter.

You might also like