aboutsummaryrefslogtreecommitdiff
path: root/semestr-5/so/lista2/echo.c
blob: 1d26d6f2377e9a3199ec91c6a9c4b8d09bcf8b9e (plain)
1
2
3
4
5
6
7
8
9
10
11
#include <stdio.h>

int main() {
  char buffer[1000];
  printf("Echo!\n");
  while (1) {
    scanf("%s", buffer);
    printf("%s\n", buffer);
  }
  printf("What?");
}