0

Whats wrong with thid code?

I want to make a calculator however after doing everything it always show default print https://code.sololearn.com/c8g26ar9vyq4/?ref=app

17th Nov 2018, 5:07 PM
chirag
chirag - avatar
6 Antworten
+ 2
Ulisses Cruz thanks a lot it works!!!!!!
17th Nov 2018, 5:35 PM
chirag
chirag - avatar
+ 1
The "float result" part is wrong,it will not work coz the two operands are of type "int"..Change its type to "int" to make it work...
17th Nov 2018, 5:16 PM
Mensch
Mensch - avatar
+ 1
⚡⚡Tyrant⚡⚡ did it still doesnt work
17th Nov 2018, 5:25 PM
chirag
chirag - avatar
+ 1
Just enter the input in just one line. For example: 1 + 1
17th Nov 2018, 5:26 PM
Ulisses Cruz
Ulisses Cruz - avatar
+ 1
Don't use space in between.
17th Nov 2018, 5:32 PM
Ulisses Cruz
Ulisses Cruz - avatar
0
Ulisses Cruz already tried it doesnt work
17th Nov 2018, 5:31 PM
chirag
chirag - avatar