mirror of
https://github.com/RTimothyEdwards/netgen.git
synced 2026-08-29 01:14:24 +02:00
17 lines
253 B
C
17 lines
253 B
C
#include <stdio.h>
|
|
|
|
char buffer[100];
|
|
int i;
|
|
|
|
main()
|
|
{
|
|
while (fgets(buffer,100,stdin) != NULL) {
|
|
for (i=0; i < strlen(buffer); i++) {
|
|
if (buffer[i] == ' ') {
|
|
putchar('\t');
|
|
while (buffer[i] == ' ') i++;
|
|
}
|
|
putchar(buffer[i]);
|
|
}
|
|
}
|
|
} |