Switch to full style
Java2 codes,problems ,discussions and solutions are here
Post a reply

Program for "Selection of arithmetic operations" in Java

Thu Oct 08, 2009 9:06 pm

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.

Re: menu one of three arithmetic operations java program

Thu Oct 08, 2009 9:56 pm

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

Post a reply
  Related Posts  to : Program for "Selection of arithmetic operations" in Java
 help for "Note pad code in java"     -  
 Make your own Visual Basic 6 Version of "Tail for windows"     -  
 Temu Coupon Code $100 off |"|act796165|"| for New and Exis     -  
 Invalid unicode sequence error ("u")     -  
 How to save in a file the ASCII Characters? Like "☺"     -  
 @SuppressWarnings("unchecked")     -  
 How to add "Description" on every topics ?     -  
 Free "tail -f" Tool for all Platforms: Tail for Windows, Tai     -  
 how to write a "c' program on fibannoic series     -  
 Results of Java expressions for arithmetic operations     -