#include<iostream>
using namespace std;
int main(){
float m, a, j;
cout<<"Enter the value of m:\n";
cin>>m;
cout<<"Enter the value of a:\n";
cin>>a;
cout<<"Enter the value of j:\n";
cin>>j;
double p = m* (67 * a - 32 * j) + 23- 5* m / a;
cout<<"The value of p is: "<<p<<endl;
}
Comments
Leave a comment