2nd Mar 2021, 6:42 PM
Wade
Wade - avatar
3 Antworten
+ 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!
2nd Mar 2021, 6:54 PM
Carlos Caminero
+ 3
Bro it's easy ! Characters are written in single quotes ' ' not " " So simply change all the '+', '-'..... to double quotes! It will work 👍
2nd Mar 2021, 6:50 PM
Rawley
Rawley - avatar
+ 2
Thnx
2nd Mar 2021, 7:04 PM
Wade
Wade - avatar