scanf函数的运用
#include <stdio.h>
int main(void)
{
char words[500][21]={0};
short i=0;
scanf("%*[^a-zA-Z]");
while(scanf("%20[a-zA-Z]", words[i]) == 1)
{
i++;
scanf("%*[^a-zA-Z]");
}
while(i>1)
printf("%s ", words[--i]);
printf("%s\n", words[--i]);
return 0;
}