Write a statement using a compound assignment operator to change val to the remainder when val is divided by 16 (val has already been declared and initialized )

LANGUAGE: C++

CHALLENGE:

Write a statement using a compound assignment operator to change val to the remainder when val is divided by 16 (val has already been declared and initialized )

SOLUTION:



val = val % 16;