need a code to calculate user inputs in java | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

need a code to calculate user inputs in java

hi i need a code to calculate user inputs like this: this is user input>> 5+6-8+6*2/4 i will be greatful

27th Dec 2018, 11:26 AM
Mr Lord
Mr Lord - avatar
2 Answers
+ 3
magic with js engine. I think it won't work on SL compiler (too much memory needed), but it works. https://code.sololearn.com/c61v3l8IXdD9/?ref=app
27th Dec 2018, 12:01 PM
Michal
Michal - avatar
+ 1
Here you can find the Java tutorial: https://www.sololearn.com/Course/Java/?ref=app What you ask for it will need only very simple and basic knowledge, so do a little effort and go through some studying... If people do all the job for you, you will not learn much ;-)
27th Dec 2018, 12:01 PM
Sekiro
Sekiro - avatar