#include<stdio.h> #define a 256 int main(void){ char ch[a]; int index; index=0; scanf("%c",&ch[index]); while(ch[index]!='\n'){ scanf("%c",&ch[index]); index++; } return 0;