(c++%++a) - (++b*c) solve in java programming.
Do only if you know.....java
AdeleDavis:
Ya sorry,
Answers
Answered by
0
(4%3)-(8*5)
=1-40
=-39
=1-40
=-39
Answered by
1
Initial values:
a= 2
b=7
c=4
(c++%++a) - (++b*c)
Step 1: solving the first part
(c++%++a)
= 4 % (2+1) // c changes to 5 now
= 4%3
=1
New values:
a= 3
b=7
c=5
Second part :
(++b*c)
= (7+1)*5 // b changes to 8
= 8*5
=40
Now we have, 1-40
That gives : -39
Hope this helps!
-Sly
a= 2
b=7
c=4
(c++%++a) - (++b*c)
Step 1: solving the first part
(c++%++a)
= 4 % (2+1) // c changes to 5 now
= 4%3
=1
New values:
a= 3
b=7
c=5
Second part :
(++b*c)
= (7+1)*5 // b changes to 8
= 8*5
=40
Now we have, 1-40
That gives : -39
Hope this helps!
-Sly
Similar questions