Question subject: Program for "Selection of arithmetic operations" in Java
Posted: Thu Oct 08, 2009 9:06 pm
Joined: Thu Oct 08, 2009 4:14 pm Posts: 1 Has thanked: 1 time Have thanks: 0 time
Hi to All
I am learning Java. I have to write down aprogram in Java which allows the student to select the arithmetic operation one wishes to study. The student chooses from a menu one of three arithmetic operations: 1) addition, 2) subtraction.Based on the student choice, the software tests the user with exactly 10 questions. For each question, two random positive one-digit integers are generated; then the student is asked to enter the answer for the arithmetic operation applied to the two numbers.The software displays a message “Congratulations!” if more that 7 questions are answered correctly, otherwise, the program should display "Please ask your teacher for help". THANKS FOR YOUR "ALWAYS" HELP
Last edited by MNA1954 on Thu Oct 08, 2009 9:59 pm, edited 2 times in total.
msi_333
Question subject: Re: menu one of three arithmetic operations java program
Posted: Thu Oct 08, 2009 9:56 pm
Joined: Tue Mar 27, 2007 10:55 pm Posts: 2279 Location: Earth Has thanked: 39 time Have thanks: 61 time
This is a clear and general assignment , i can't answer general questions like that , you have to try and then ask what really stopped you . here a code may help you Java Calculator
_________________ Currenlty programming with : java , html , php , and javascript . (OCJP-6 certified )