![]() |
|
#1
|
|||
|
|||
Simple calculator using loopsHello Everybody,
I am a beginner in JAVA and I need help from you all.. How can I write a simple calculator (Sum,Subtract, multiply, and divide) using either while loop (much better) or switch loop Thank You ![]() Last edited by LuciWiz : 08-May-2009 at 09:50.
Reason: Removed annoying formatting
|
|||
|
#2
|
|||
|
|||
Re: Simple calculator using loopsWhat specifically do you need help with? Do you just need to know how to make the program run inside a loop until the user decides to quit? Do you need help with implementing the operations (addition etc)? Show us the start you have and point out the problem.
|
|
#3
|
||||
|
||||
Re: Simple calculator using loopsQuote:
Maybe this start will help get you going? JAVA Code:
Output: Code:
MxB |
Recent GIDBlog
Accepted for Ph.D. program by crystalattice
| Thread Tools | Search this Thread |
| Rate This Thread | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Simple login reveals extra menu/buttons... | skuliaxe | MySQL / PHP Forum | 1 | 15-Feb-2008 13:44 |
| Please help me to convert a simple C++ program into an object-oriented one. | zekesteer | C++ Forum | 5 | 05-Jan-2008 11:05 |
| nested loops.. need some help.. | PeterPan | Java Forum | 1 | 21-Mar-2006 22:40 |
| Help with nested for loops...please. sorry newbie | keperry | C++ Forum | 14 | 16-Oct-2004 12:25 |
| [PROGRAM] Simple 8-Puzzle Game | Max Payne | MS Visual C++ / MFC Forum | 0 | 09-May-2004 22:59 |
Network Sites: GIDNetwork · GIDWebHosts · GIDSearch · Learning Journal by J de Silva, The