RE: Challenge yourself: guess what would be the answer?

You are viewing a single comment's thread from:

Challenge yourself: guess what would be the answer?

in java •  4 years ago 

Thanks for your comment:) But the answer is negative!
The reason:
in the right code, the value of x will be changed after the first if statement.

Authors get paid when people like you upvote their post.
If you enjoyed what you read here, create your account today and start earning FREE STEEM!