Computer Science, asked by dawood403409, 9 months ago

S. 5+3*2% 10-8*6
it's related to programming?
Don't answer irrelevantly....only those having good programming skills can answer.​

Answers

Answered by Calla
1

Answer:

The answer is -37.

Explanation:

5 + 3*2 % 10 - 8*6 ( Since * and % hold higher priority than - and + signs in programming , we first complete the multiplication and use modulo to give the remainder and then do addition and subtraction)

= 5 + 6%10 - 48 ( When we divide 6 by 10, the remainder is 6 and 8*6=48)

= 5 + 6 - 48 (After doing multiplication and modulo,we can normally subtract and add)

= -37

Hope it helps!

Similar questions