// P-4 : cin object of istream class - iostream.h header file
// << - extraxtion operator or get from operator
#include <iostream.h>
#include <conio.h>
void main()
{
int no;
clrscr();
cout << "Enter any value : ";
cin >> no;
cout << "Number = " << no;
getch();
}
Comments
Post a Comment