Computer Science, asked by Jungkookieluv, 1 day ago

Evaluate the following expression if the values of the variables are a = 12, b = 46 and c = 9. a *( b % c)​

Answers

Answered by purveshKolhe
2

\huge{\red{\overbrace{\underbrace{\mathfrak{\purple{answer::}}}}}}

12

12 will be the output.

Let us simplify it-

  • a * (b % c)
  • ​12 * (46 % 9)​
  • 12 * 112

Logic-

  • % or modulus is use for remainder.
  • We use BODMAS rule in programming too exactly like that of everyday mathematics.

Hope it helps...

Similar questions