+ 1
Hey everyone, just trying to make a simple calculator but computer says no. Can anyone help?
6 Answers
+ 3
Your variable op is a char, so your switch cases must be char too: '+', '-', '/' ...
And your div will fail if you devide by zero.
+ 1
Thank you đ
0
Oh yeah, thank you. Still not working though đ€·ââïž
0
Thanks ~ swim ~ .... didn't know that. It's still not working though!