Hi All
very new to programing so please excuse me
how would you create a math game in JAVA
say 5 questions
Thanks
very new to programing so please excuse me
how would you create a math game in JAVA
say 5 questions
Thanks
while(user still wants to answer) {
int choice = (int)(Math.random()*5);[indent]switch(chioce) {
case 1: {
logic of question 1
ask if user still wants to answer
}
case n: {
logic of question n
ask if user still wants to answer
}
}
[/indent]}
Comment