I've made a (very) basic calculator! Can someone review it? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

I've made a (very) basic calculator! Can someone review it?

This is the code for my calculator: https://www.dropbox.com/s/f1hwfujv9eplffd/calculator.txt?dl=0 It's my first fully working calculator so go ahead and judge me ^_^

19th Feb 2017, 2:36 PM
Modestas
Modestas - avatar
4 Answers
+ 1
i highly suggest you to use functions instead of repeating code. And also, to make the program more efficient, you should put the code in a loop so the user doesn't have to restart the program to make another calculation.
19th Feb 2017, 2:53 PM
Edi Lipovac
Edi Lipovac - avatar
0
it should be now, I posted it on dropbox as a .txt file
19th Feb 2017, 2:37 PM
Modestas
Modestas - avatar
0
Thank you very much!
19th Feb 2017, 2:55 PM
Modestas
Modestas - avatar
- 1
it's not complete
19th Feb 2017, 2:35 PM
Edi Lipovac
Edi Lipovac - avatar