#include <iostream>
using namespace std;
int main()
{ floata,b,c,d,
e;
//Declaration of included Variables
cout<<"Enter a: "; //Get value of
a//
cin>>a;
cout<<"Enter b: ";
cin>>b;
//Read second point entered
cout<<"Enter c: ";
cin>>c;
cout<<"Enter d: ";
cin>>d;
e=(a+(b-c)*d)/10;
//Get the value of e by operations//
cout<<"\ne = " <<e; //Print the value of e//
cout<<endl;
return 0;}
No comments:
Post a Comment