求大神检查错误在哪里?
错误是 [Error] ld returned 1 exit status 是什么错误啊?#include<stdio.h>
int main(void)
{ int x,y;
printf("Enter a two-digit number:");
scanf("%1d%1d",&x,&y);
if(x>20){
switch(x)
{
case 2:printf("twenty");
case 3:printf("thirty");
case 4:printf("forty");
case 5:printf("fifty");
case 6:printf("sixty");
case 7:printf("seventy");
case 8:printf("eighty");
case 9:printf("ninty");
}
switch(y)
{case 1:printf("one");
case 2:printrf("two");
case 3:printf("three");
case 4:printf("four");
case 5:printf("five");
case 6:printf("six");
case 7:printf("seven");
case 8:printf("eight");
case 9:printf("nine");
}
}
else
{
switch(y)
{case 1:printf("eleven");
case 2:printrf("twelve");
case 3:printf("thirteen");
case 4:printf("forteen");
case 5:printf("fifteen");
case 6:printf("sixteen");
case 7:printf("seventeen");
case 8:printf("eightteen");
case 9:printf("ninteen");
}
}
return 0;
}