equal
deleted
inserted
replaced
|
1 #include <stdio.h> |
|
2 |
|
3 int main() |
|
4 { |
|
5 int i; |
|
6 do |
|
7 { |
|
8 /* Unsigned char cast to int */ |
|
9 i = getchar(); |
|
10 if (i == EOF) |
|
11 break; |
|
12 if (i == '\n' || (i >= ' ' && i < 0xfe)) |
|
13 putchar(i); |
|
14 } while(1); |
|
15 |
|
16 return 0; |
|
17 } |