| | |
I need help about a String Calculator
![]() |
•
•
Join Date: Aug 2008
Posts: 29
Reputation:
Solved Threads: 1
hello,,can you help me with my problem??if it's okey for you,,,
right now,,we are required to make a calculator using only string..ex:
i can only use the imports: JOptionPane/BufferedReader
Input
Mathematical String: 2 + (3*2)
Output
Result: 8
how can i implement the codes??our told us that we should make an algo of it,,but i don't know how,,help guyzz...do you know any other sites that could really help me about this problem??i also want to learn...thank you again...
right now,,we are required to make a calculator using only string..ex:
i can only use the imports: JOptionPane/BufferedReader
Input
Mathematical String: 2 + (3*2)
Output
Result: 8
how can i implement the codes??our told us that we should make an algo of it,,but i don't know how,,help guyzz...do you know any other sites that could really help me about this problem??i also want to learn...thank you again...
As you say in one of you other posts, if you are new and don't know how to make code,
start by writing simpler codes
start by writing simpler codes
Check out my New Bike at my Public Profile at the "About Me" tab
a lot of people ask this, there is a thread on it already, under a different name i need to make it a snippet, HERE IS A LINK:LINK
My site, random PM's from people I haven't hear from before will be DELETED
"If people are good only because they fear punishment, and hope for reward, then we are a sorry lot indeed.",
"If we knew what it was we were doing, it would not be called research, would it? "-Albert Einstein
"If people are good only because they fear punishment, and hope for reward, then we are a sorry lot indeed.",
"If we knew what it was we were doing, it would not be called research, would it? "-Albert Einstein
Because you are supposed to implement main method and just feed user fetched data into provided parser
Learn to see in another's calamity the ills which you should avoid.
Publilius Syrus
(~100 BC)
LJC - London Java Community, Graduate & Undergraduate Software Development Community, JAVAWUG (Java Web User Group), The London Android Group
Publilius Syrus
(~100 BC)
LJC - London Java Community, Graduate & Undergraduate Software Development Community, JAVAWUG (Java Web User Group), The London Android Group
![]() |
Similar Threads
- Object Orientated C+++.net Calculator! (C++)
- need hekp with C++ Calculator program (C++)
- calculator --- using more than 2 operands? (Java)
- simple calculator help (Java)
- need help with calculator program in C (C)
- Command line calculator (C)
- Looking for _gcvt(double,int,string) (C++)
- The Calculator (C++)
Other Threads in the Java Forum
- Previous Thread: Help with Inventory part 6 program please!!
- Next Thread: Need help finishing a Memory Game
| Thread Tools | Search this Thread |
add android api applet application applications array arrays automation bank binary bluetooth chat class clear client code codesnippet collections component converter database development dice digit eclipse equation error event formatingtextintooltipjava fractal functiontesting game givemetehcodez graphics gui health html hyper ide idea image infinite input int integer j2me java javame javaprojects jni jpanel julia linux list loop looping main map method methods mobile myregfun mysql netbeans newbie nonstatic openjavafx parameter pearl php print problem program programming project recursion repositories scanner scrollbar server set size sms sort sorting spamblocker sql sqlserver state storm string superclass swing swt text-file thread threads tree windows






