BIFF过滤器
#include <stdio.h>
#include <string.h>
int main()
{
char a[100];
char *b="!!!!!!!!!!";
char *p=a;
int i;
gets(a);
int n=strlen(a);
for(i=0;a[i]!='\0';i++)
{
if(a[i]>='a'&&a[i]<='z')
{
a[i]=a[i]-'a'+'A';
}
printf("%c ",a[i]);
switch (a[i])
{
case 'A': a[i]='4';break;
case 'B': a[i]='8';break;
case 'E': a[i]='3';break;
case 'I': a[i]='1';break;
case 'O': a[i]='0';break;
case 'S': a[i]='5';break;
}
printf("%c ",a[i]);
}
printf("\n");
strcat(p,b);
puts(a);
return 0;
}