练习用的,请指教私信

2019PHP高薪工程师学习路线图....>>>

#include<stdio.h>
int main(void)
{
	int a,b;
	char operation;
	printf("please int some number let me know\n");
	scanf("%d",&a);
	scanf("%c",&operation);
	scanf("%d",&b);
	
	switch(operation)
	{
	case'+':printf("%d",a+b);
	    break;
    case'-':printf("%d",a-b);
        break;  
    case'*':printf("%d",a*b);
		break;
    case'/':printf("%d",a/b);
	    break;
    }
	
	return 0;
}