English

What is the value of −32% 6?

Advertisements

Question

What is the value of −32% 6?

Numerical
Advertisements

Solution

Given expression:

−32% 6

The modulus operator (%) gives the remainder after division.

= −32 − (6 × −5)

= −32 − (−30)

= −32 + 30

= −2

shaalaa.com
  Is there an error in this question or solution?
Chapter 6: Variables and Expressions - EXERCISE [Page 133]

APPEARS IN

Dheeraj Mehrotra Computer Science [English] Class 12
Chapter 6 Variables and Expressions
EXERCISE | Q 54. | Page 133
Advertisements
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×