cplusplus
.com
TUTORIALS
REFERENCE
ARTICLES
FORUM
C++
Tutorials
Reference
Articles
Forum
Forum
Beginners
Windows Programming
UNIX/Linux Programming
General C++ Programming
Lounge
Jobs
Forum
Beginners
HW HELP!
HW HELP!
Feb 24, 2014 at 6:30am UTC
BaneX
(13)
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!
Feb 24, 2014 at 12:13pm UTC
MiiNiPaa
(8886)
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)
Feb 24, 2014 at 4:42pm UTC
BaneX
(13)
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.