Total members 11892 |It is currently Fri Oct 18, 2024 8:53 am Login / Join Codemiles

Java

C/C++

PHP

C#

HTML

CSS

ASP

Javascript

JQuery

AJAX

XSD

Python

Matlab

R Scripts

Weka





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.

Author:
Newbie
User avatar Posts: 1
Have thanks: 0 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

_________________
M. S. Rakha, Ph.D.
Queen's University
Canada


Author:
Mastermind
User avatar Posts: 2715
Have thanks: 74 time
Post new topic Reply to topic  [ 2 posts ] 

  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"     -  
 Invalid unicode sequence error ("u")     -  
 How to save in a file the ASCII Characters? Like "☺"     -  
 How to add "Description" on every topics ?     -  
 @SuppressWarnings("unchecked")     -  
 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     -  
 Arithmetic Operators in java     -  



cron





Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
All copyrights reserved to codemiles.com 2007-2011
mileX v1.0 designed by codemiles team
Codemiles.com is a participant in the Amazon Services LLC Associates Program, an affiliate advertising program designed to provide a means for sites to earn advertising fees by advertising and linking to Amazon.com