Hello. I'm a beginning C++ programming student coming up on my first test. I'm sure this is a simple enough question. Basically i'm not sure for this particular question how the products of the formulas would appear. If someone could explain and answer these formulas, any help would be so greatly appreicated.
What are the values of the following expressions? In each line, assume
that
double x = 2.5;
double y = -1.5;
int m = 18;
int n = 4;
i. x + n * y − (x + n) * y
ii. m/n + m%n
iii. 5 * x − n/5