#include <stdio.h>
int main()
{
int a ,b,result;
char ch;
printf(“enter operands\n”);
scanf("%d%d",&a,&b);
printf(“enter operation : “);
scanf(”%c”,&ch);
if(ch==’+’)
{
result=(a+b);
printf("%d",result);
}
else if(ch==’-’)
{
result=(a-b);
printf("%d",result);
}
return 0;
}
this code is not scanning ch tell whats the error and whats the solution