0

How to program calculator in java

24th Jul 2017, 5:20 PM
vikas kotwal
vikas kotwal - avatar
6 Réponses
+ 1
Use eval function if java has one
24th Jul 2017, 7:28 PM
LordGhostX
LordGhostX - avatar
0
help me
24th Jul 2017, 5:20 PM
vikas kotwal
vikas kotwal - avatar
0
I recommend you to have a look at the CodePlayground. There you'll find many examples.
24th Jul 2017, 5:25 PM
Amarie
0
the GUI?
24th Jul 2017, 5:27 PM
Мг. Кнап🌠
Мг. Кнап🌠 - avatar
0
thank to all
24th Jul 2017, 5:33 PM
vikas kotwal
vikas kotwal - avatar
0
If you want a calculator with GUI I recommend going through Swing and examples in the code playground, if you simply want to develop a calculator which takes two numbers perform some basic operation and prints it to the console, simple switch case along with Scanner object is enough.
24th Jul 2017, 5:45 PM
Shubham Kr Singh
Shubham Kr Singh - avatar