int main()
{
int a,b;
printf("2013914221 周聪\n");
printf("Input a,b:");
scanf("%d,%d",&a,&b);
switch(b)
{
case 1:printf("a+a*0.0225=lf\n",a+a*0,0225);
break;
case 2:printf("a+a*0.0243=%lf\n",a+a*0.0243);
break;
case 3:printf("a+a*0.0270=%lf\n",a+a*0.0270);
break;
case 5:printf("a+a*0.0288=%lf\n",a+a*0.0288);
break;
case 8:printf("a+a*0.0300=%lf\n",a+a*0.0300);
break;
default:
printf("Invalid operator!\n");
}
return 0;
}