1
1
mirror of https://github.com/theoludwig/programming-challenges.git synced 2024-07-18 02:20:12 +02:00
programming-challenges/challenges/hello-world/solutions/c/function/solution.c

11 lines
174 B
C
Raw Normal View History

#include <stdio.h>
#include <stdlib.h>
int main() {
char input[1024];
while (scanf("%s", &input) != EOF) {
printf("Hello, %s!", input);
}
return EXIT_SUCCESS;
}