Why won't this calculator do multiplication correctly? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Why won't this calculator do multiplication correctly?

https://code.sololearn.com/c3ap3b7A6Zid/?ref=app

29th Jul 2020, 8:12 PM
dubdevil 4725
dubdevil 4725 - avatar
6 Answers
+ 6
You’ve missed to call the multiply() function.
29th Jul 2020, 8:20 PM
Shamima Yasmin
Shamima Yasmin - avatar
0
What did you put in? Whatever multiplication problem I put in, it just shows the first number.
29th Jul 2020, 8:17 PM
dubdevil 4725
dubdevil 4725 - avatar
0
How to I call the function? I'm a rookie.
29th Jul 2020, 8:22 PM
dubdevil 4725
dubdevil 4725 - avatar
0
Only the main function is executed. Here is an example based on your code: https://code.sololearn.com/cOW3fbke9HgA/?ref=app
29th Jul 2020, 8:24 PM
Gabriel Ilie
Gabriel Ilie - avatar
0
Thanks!
29th Jul 2020, 8:24 PM
dubdevil 4725
dubdevil 4725 - avatar