#include <stdio.h>
int main(void){
int c;
printf("Input some characters, then press Ctrl+D./n");
while ((c = getchar()) != EOF){
if (c == '/t')
printf("//t");
else if (c == '/b')
printf("//b");
else if (c == '//')
printf("////");
else
printf("%c", c);
}
return 0;
}
原创文章,作者:ItWorker,如若转载,请注明出处:https://blog.ytso.com/tech/pnotes/266654.html