Answer to Question #238080 in C++ for pravinen

Question #238080
  1. p = m(67a - 32j) + 23-5m/a
1
Expert's answer
2021-09-16T12:59:42-0400
#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;
}

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!

Leave a comment

LATEST TUTORIALS
New on Blog
APPROVED BY CLIENTS