Well, I'm not really practised with java so probably you will find my code naive or worse... just suggest a solution for my problem :)
I'm trying to write a calculator program, with JButtons and a...
Type: Posts; User: Kyl96
Well, I'm not really practised with java so probably you will find my code naive or worse... just suggest a solution for my problem :)
I'm trying to write a calculator program, with JButtons and a...
thanks for the answers, but maybe I didn't explain well my problem. I don't know which is the string, I ask a user to write the operations in a textfield, so I could get "4+3-2" s well as "5-4-3+44"....
I have a string, for example "4+3-2" and I want to have the result of these operations, how can I do it?
The numbers of the string are inserted by the user, so I don't know them unless I run the...