+ 1
How to fix this?
3 Answers
+ 3
There are some problems, that you need to fix:
1) It must be ' ' in cases, because you are using characters
2) You must always use "break;" statement at the end of each case except the last
3) It must be scanf("%d%c%d",&x,&oper,&y); because your oper input is a character.
Cheers!
+ 3
Bro it's easy !
Characters are written in single quotes ' ' not " "
So simply change all the '+', '-'..... to double quotes!
It will work đ
+ 2
Thnx