» The cout<< function is used for output.print the statement.
» The cin>> function is used for input.read the input data.
» Both functions are inbuilt library functions, defined in header file (iostream.h).
#include void main() { int age,mob_no; cout<<"Enter Your Age:"; cin>>age; cout<<"Enter Your Mobile No:"; cin>>mob_no; cout<<"Your Age Is"; cout<<"Your Mobile No. Is:"; }
Output:-
Your Age Is age
Your Mobile No.Is mob_no