初学者的问题为什么出错?
#include<stdio.h>void main()
{
char c;
c=getchar();
if(0<=c&&c<=9);
printf("this is a digit\n");
else if('a'<c&&c<'Z')
printf("this is a small letter\n");
else if('A'<=c&&c<='Z')
printf("this is a capital letter\n");
else
printf("this is the other\n");
}