The application will ask questions like:
What comes after D?
A child is expected to answer the question and the application will inform the child if the answer is correct or wrong. The application will ask a total of 20 questions. After all 20 questions have been answered, the application will display a score (from 0 to 20) to inform the child how many questions he or she answered correctly. The application will also list all the letters that were asked.
The letters tested are from ‘A’ up to ‘Y’. Do not include the letter ‘Z’. The letters are selected randomly. No letters are to be repeated, that is, each letter is only asked once in the 20 questions.
Note: The java.util.Random class can be used to generate random numbers. For example, the following statements may be used to generate a random number from 0 to 4 inclusive:
Random generator = new Random();
int number = generator.nextInt(5);
#I have been started and my code facing some problem in gui application ,can anybody help me in this coding of GUI.and the code i attached below also have some problem .when i tested it ,the letter is repeated .how to solve it?
Edited 6 Years Ago by funjoke88: n/a