HW HELP!

I'm taking introduction to c++ and i'm stuck at this problem

PROBLEM: What is the result after each statement(s). If the assignment is not valid, state the reason.
P. N=M=5;
Q. N=7/3;
R. M+N=1;
S. X=4;X=X%2;
T. N=3; M=2*N+5.3


Any help would be greatly appreciated!


What exactly your problem is? All of this is pretty straightforward and any textbook should have informtion on it.

Tricky ones are Q (integer division) and T (answer depends on type of M)
I don't know how to start this problem, bear with me because all this is new to me.
Topic archived. No new replies allowed.