60 403
Assignments Done
98,2%
Successfully Done
In April 2018

Answer to Question #3335 in C++ for mukunda

Question #3335
What is the output of the given expression; take the input values for the variables
A * ( B / C) – D % E
Expert's answer
#include <iostream>
using namespace std;

int main()
{
int A, B, C, D, E;
cout << "Input A, B, C, D and E:" << endl;
cin >> A >> B >> C >> D >> E;

int result = A * (B / C) - D % E;
cout << "The result is " << result << endl;

return 0;
}

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 first!

Leave a comment

Ask Your question

Submit
Privacy policy Terms and Conditions