This is my 1st project when I execute it works this way in commad prompt mode, in the present project I've modified it to work in applet.
----jGRASP exec:
java MathTest
1. 7+2 = ? a.6 b.8 c.9 d.10
Enter Your Answer:
c
Correct
2. 9-5 = ? a.2 b.4 c.6 d.8
Enter Your Answer:
b
Correct
3. 144/12 = ? a.10 b.12 c.14 d.16
Enter Your Answer:
b
Correct
4. 5*5 = ? a.10 b.20 c.25 d.125
Enter Your Answer:
c
Correct
5. 2+3+5 = ? a.7 b.8 c.9 d.10
Enter Your Answer:
d
Correct
You had 5 question correct.
Congratulations,you passed with a score of 100%
----jGRASP: operation complete.
I have included my 1st project :