int s_num(char a) { if((a>='0')&&(a<='9')) return 1; else return 0; } int main(){ char a[1024]; while(scanf("%s",a)!=-1) { if(s_num(a[0])) { printf("*%c",a[0]); } else printf("%c",a[0]); ...