#include "stdio.h"
char input[]="SSSWILTECH1\1\11W\1WALLMP1";
main()
{
int i,c;
for(i=2;(c=input[i])!='\0';i++)
{
switch(c)
{
case'a':putchar('i');
continue;
case'1':break;
case 1:while((c=input[++i])!='\1'&&c!='\0');
case 9:putchar('S');
case'E':
case'L':continue;
default:putchar(c);
continue;
}
putchar('');
}
putchar('\n');
getch();
}
答案是SWITCH SWAMP
帮忙分析,讲一下,谢谢了!