#include<iostream>
#include<conio.h>
using namespace std;
int main()
{
int x,y,z;
cout<<"please input number";
cout<<"\n x=";
cin>>x;
cout<<"\n y=";
cin>>y;
z=x+y+x/y+y-x;
cout<<z;
getch();
return 0;
}
output of the above program
please input number
x=12
enter the following information
y=21
enter the following information
42
No comments:
Post a Comment