Why it's not calculating? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Why it's not calculating?

can you help me to find te error? https://code.sololearn.com/cwC5WKt4B0PH/?ref=app

10th Aug 2018, 11:22 AM
Hammad Yaqub
Hammad Yaqub - avatar
1 Answer
+ 1
Your doing a switch statement based on the value of 'result', but result has no value so none of the values in the switch are valid.
10th Aug 2018, 11:28 AM
Duncan
Duncan - avatar