Given two int variables, i and j, which have been declared and initialized, and two other int variables

LANGUAGE: Visual Basic

CHALLENGE:

Given two int variables, i and j, which have been declared and initialized, and two other int variables, itemp and jtemp, which have been declared, write some code that swaps the values i and j by copying their values to itemp and jtemp, respectively, and then copying itemp and jtemp to j and i respsectively.

SOLUTION:

The Bad News: The content you are trying to access is only available to members.

The Good News: You too can be a member, simply Click Here.

Already a member?