0
why isn't calculator working?
3 odpowiedzi
+ 2
Also change b!=0 in line 26
+ 1
You need to use single quotation marks for char.
char op;
cin>>op
switch(op) {
case '+' : // use single quotation marks
break;
}
+ 1
Hello Stefan,
Please specify the language relevant to the question & the code (C++) in the tags ☝
https://code.sololearn.com/W3uiji9X28C1/?ref=app