清华大佬耗费三个月吐血整理的几百G的资源,免费分享!....>>>
#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;
}