Assume that an int variable x that has already been declared, and initialized to a non-negative value.

LANGUAGE: JAVA

CHALLENGE:
Assume that an int variable x that has already been declared, and initialized to a non-negative value.

Write an expression whose value is the last (rightmost) digit of x.

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?

Posted in ,