帮我看看哪错了呀????
#include <stdio.h>void main()
{
int x,y,z;
printf("enter x,y:);
scanf("%d%d",&x,&y);
switch(y)
{
case 1: z=x+x*12*0.315%;break;
case 2: z=x+x*12*2*0.330%;break;
case 3: z=x+x*12*3*0.345%;break;
case 5: z=x+x*12*5*0.375%;break;
case 8: z=x+x*12*8*0.420%;break;
default: printf("数据错误!\n");
}
printf("%d\n",z);
}