Rewrite the code from the previous exercise to be shorter, by declaring the variables together and by

Question:

Rewrite the code from the previous exercise to be shorter, by declaring the variables together and by using the special assignment operators (e.g., += , −= , *= , and /= ) as appropriate.


Data from Previous Problem

int first = 8;

int second = 19;

first = first + second;

second = first − second;

first = first − second;

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Related Book For  book-img-for-question
Question Posted: