+ 21
[ASSIGNMENT] Write a calculator
Write a program that performs actions on two operands. My versions: https://code.sololearn.com/c9OO4Hy55tTL/?ref=app https://code.sololearn.com/cM6hOEc8dO58/#cpp
48 Answers
+ 11
https://code.sololearn.com/cD4yd3Q49YOJ/#cpp
+ 45
One Line, Calculator
https://code.sololearn.com/cvDgSJ0lNwSM/?ref=app
+ 38
@Simon Nikiforov Thanks :)
+ 36
my calculator
https://code.sololearn.com/Wsx0pIqLaIP5/?ref=app
+ 13
https://code.sololearn.com/cKJo6SDvQxsg/?ref=app
+ 13
Very nice @Gaurav Gupta๐๐
+ 12
Contains the idea:
https://code.sololearn.com/cUEVZ6d8Z57P/?ref=app
+ 10
Very nice @Abdurab ๐๐
+ 9
Very nice @Yash Khare ๐๐
+ 9
Very nice @Bithi D ๐๐
+ 9
Very nice @CodeX ๐๐
+ 9
Very nice @ ๐
ฟ๏ธยฎโญ๏ธ_eโ๏ธe ๐๐
+ 9
Simon Nikiforov
Please do not change the header. The penalty for editing/removing the header is removal of the thread.
+ 8
Simon Nikiforov thanks a lot my friend ๐
glad that you like it ๐๐
+ 8
Very nice @Dilhara Abeysinghe ๐๐
+ 7
Input example: 2+5-1
One line (yeah, it's obviously Phyton ๐) :
print(eval(input()))
+ 7
Very nice @Ujjwal Kumar ๐๐
+ 7
Very nice @LayB ๐๐
+ 7
https://code.sololearn.com/WNai7S1ArEWb/?ref=app