Author Topic: Java would you like to play again?  (Read 439 times)

Offline Yuvraj

  • 1
  • Newbie
  • *
  • Posts: 0
  • Karma: +0/-0
    • View Profile
Java would you like to play again?
« on: October 27, 2014, 10:49:08 PM »
Hi ! Hello, I would like to ask you a question that I can not answer, java would you like to play again It is urgent, Thank you kindly answer me please quickly enough.



Offline Olivier

  • 1
  • Newbie
  • *
  • Posts: 0
  • Karma: +0/-0
    • View Profile
Re: Would you
« Reply #1 on: May 23, 2018, 04:24:00 PM »
You can ask the player to confirm the answer before break out the while loop.

add question before line24: win=true;
and check the answer, then decide break out or reset the guess number.


 

Sitemap 1 2 3 4 5 6 7 8 9