// program to understand cin object in C++
#include<iostream>
#inlcude<stdlib.h>
using namespace std;
int main()
{
system("cls");
int a,b;
cout<<"enter values for a and b"<<endl;
cin>>a>>b;
cout<<"a="<<a<<"and b="<<b<<endl;
return 0;
}
#include<iostream>
#inlcude<stdlib.h>
using namespace std;
int main()
{
system("cls");
int a,b;
cout<<"enter values for a and b"<<endl;
cin>>a>>b;
cout<<"a="<<a<<"and b="<<b<<endl;
return 0;
}
No comments:
Post a Comment