Determining value

Hey guys! please help me on this drill.

Determine the value of each item below and design a program for each item that will display the computed output.

Consider a=8; b=-2; c=5, all variables are of type int

a. (a+b)/a*10
b.a++ + --a *25%c
c. ++b/80 + (a += 10)
d. 10 * (c-2 * (a-b))
e. a && (10 - 2 * 5) // 10



HI,
This question seems to be pretty straightforward, where are you getting trouble?
am having a hard time on those item especially in designing a statement of each item since am not yet familiar with the commands in c++
Hi,
Can you show us your code?
Topic archived. No new replies allowed.