programplug Logo




C++ Cout And Cin Function


» 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






Our Services

Developing Cheapest Websites
Offer Digital Marketing
Provide College Projects
Attractive Website Developing
Summer Training,Industrial Training
SCO,SMO

Contact Us

Dehradun Uttarakhand India
www.programplug.com
info@programplug.com
08534019974
Designed By : Mridul Gupta

Other Link

About Us

Contact Us

Disclaimer

Privacy Policy