Total members 10261 | Gratitudes |It is currently Wed May 23, 2012 9:34 am Login / Join Codemiles


All times are UTC [ DST ]




Post new topic Reply to topic  Quick reply  [ 2 posts ] 
Author Question
 Question subject: Program for "Selection of arithmetic operations" in Java
PostPosted: Thu Oct 08, 2009 9:06 pm 
Offline
Newbie
User avatar

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.

TOP
 Profile Send private message  
Reply with quote  
 Question subject: Re: menu one of three arithmetic operations java program
PostPosted: Thu Oct 08, 2009 9:56 pm 
Offline
Mastermind
User avatar

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 )


TOP
 Profile Send private message  
Reply with quote  
Post new topic Reply to topic Quick reply  [ 2 posts ] 
Quick reply


  

 Similar topics
 video chat application in java
 navigating to database using java
 java mobile apps
 need help in java
 Read your gmail using Java code
 Java Programing to communicating port parallel
 Java Chat
 I need you to help me to solve this program by c++ language
 Steganography in java
 java code for listing folder contents from remote folder

All times are UTC [ DST ]


Users browsing similar posts

Users browsing this forum: No registered users and 4 guests



Jump to:  
Previous Question | Next Question 




Home
General Talks
Finished Projects
Code Library
Games
Tutorials

Java
C/C++
C-sharp
php
Script
JSP/Servlets
Ajax
ASP/ASP.net
Google SEO
Database
Communications
Phpbb3 styles
Photoshop tutorials
Flash tutorials
Find a job






Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
All copyrights reserved to codemiles.com 2007-2011
mileX v1.0 designed by codemiles team