Write a statement using a compound assignment operator to add 5 to val (an integer variable that has already been declared and initialized ).

Write a statement using a compound assignment operator to add 5 to val (an integer variable that has already been declared and initialized ).

LANGUAGE: C++

CHALLENGE:

Write a statement using a compound assignment operator to add 5 to val (an integer variable that has already been declared and initialized ).

SOLUTION:



val = val + 5;

Add comment