hello everyone I need help making a maths quiz game which is based for 22-25 and it has to be educational. I have no idea where to start so some help would be awesome thanks :)


1 2 3 4 5 6 7 8 9 10 11 12 | int a = Greenfoot.getRandomNumber( 10 ); int b = Greenfoot.getRandomNumber( 10 ); int result = a + b; int answer = Integer.parseInt(Greenfoot.ask( "How much is " + a + " + " + b + "?" )); if (result == answer) { //showing that the answer was correct } else { //showing that the answer was not correct } |