#include<iostream> // it is a library used for display
#include<conio.h> // its is also a library used for input output statement
using namespace std;
main()
{
int a,b; // two variable are taken as a and b
cout<<"enter a value "<<endl; /* as you know cout is used to print out your comment enclosed in " " this
endl is used for next line */
cin>>a; /* here is new thing "cin" it is used to input values on running time of program*/
cout<<"enter a value "<<endl; /* as you know cout is used to print out your comment enclosed in " " this
endl is used for next line */
cin>>b; /* here is new thing "cin" it is used to input values on running time of program*/
}
#include<conio.h> // its is also a library used for input output statement
using namespace std;
main()
{
int a,b; // two variable are taken as a and b
cout<<"enter a value "<<endl; /* as you know cout is used to print out your comment enclosed in " " this
endl is used for next line */
cin>>a; /* here is new thing "cin" it is used to input values on running time of program*/
cout<<"enter a value "<<endl; /* as you know cout is used to print out your comment enclosed in " " this
endl is used for next line */
cin>>b; /* here is new thing "cin" it is used to input values on running time of program*/
}
Comments
Post a Comment