#include<iostream.h>
main()
{
int number1,number2,number3;
float calculate;
cout<<"enter num1=";
cin>>number1;
cout<<"enter num2=";
cin>>number2;
cout<<"enter num3=";
cin>>number3;
calculate=(number1*number2)-number3+(number2/number1);
cout<<"num1="<<number1;
cout<<"num2="<<number2;
cout<<"num3="<<number3;
cout<<"calculate="<<calculate;
return 0;
}
No comments:
Post a Comment