Alright, yes there is a logic issue with the game flow, Its should be another get input once a random number is generated, instead of showMessage, then compare the input number to the random number, ...
Type: Posts; User: Zula
Alright, yes there is a logic issue with the game flow, Its should be another get input once a random number is generated, instead of showMessage, then compare the input number to the random number, ...
What error are you getting? It compiled for me, but showMessageDialog gives an error as you are passing the range instead of "MESSAGE_TYPE" as the 4th parameter, also, the do/while loop looks...