**New course!**Every coder should learn

**Generative AI!**

+ 2

# Please help me with this question

Int a=4 , b= 5 , c=6 , d =12 What is ++a - c / d + b

5 Answers

+ 13

++a - c / d + b
= 5 - 6 / 12 + 5
= 5 - 0 + 5
= 10

+ 7

first
4+1 = 5
6 / 12 = 0
5 + 5
should be = 10
(edited)

+ 7

Oh I messed up.
Thanks Hatsy

+ 6

Try using the playground to practice it.
Also use bedmass helps for the correct order to calculate it.
% comes before adding

+ 1

i)
=5-6/12+5
ii)
=5-6/17
iii)
-1/17