#include<stdio.h>#include<ctype.h>int main() { char a[100]; int i=0; fflush(stdin); scanf("%c",&a[i]); while(a[i]!='\n') { switch(isalpha(a[i])) { case 0: { printf("%c Khong phai la` mot ky tu\n",a[i]); ++i; scanf("%c",&a[i]); break; } default: { printf("%c la` mot ky tu\n",a[i]); ++i; scanf("%c",&a[i]); } } } return 0;}
abc024]\;
a la` mot ky tu b la` mot ky tu c la` mot ky tu 0 Khong phai la` mot ky tu 2 Khong phai la` mot ky tu 4 Khong phai la` mot ky tu ] Khong phai la` mot ky tu \ Khong phai la` mot ky tu ; Khong phai la` mot ky tu
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!