samedi 30 avril 2022

Randomly output an IF else command java

I used to enjoy programming with Java at school and am now trying to get back into programming with the help of a book. Now I am currently failing at a task to code a word guessing game. The user is asked questions in random order. If a question is answered incorrectly, it should be put back into the queue randomly. I started with if else, but quickly realised that I couldn't manage the random questioning. Can you give me a hint on how to code this?




Aucun commentaire:

Enregistrer un commentaire