Answer to Question #3335 in C++ for mukunda
What is the output of the given expression; take the input values for the variables
A * ( B / C) – D % E
1
2011-07-15T14:21:05-0400
#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!
Learn more about our help with Assignments:
C++
Comments
Leave a comment