This repository has been archived on 2023-10-26. You can view files and clone it, but cannot push or open issues or pull requests.
VSMechatronics/C9/ex3.c
2023-10-06 13:47:33 +01:00

15 lines
194 B
C

#include <stdio.h>
#define MAX_NAME_LEN 200
int main() {
char name[MAX_NAME_LEN] = { 0 };
printf("Please enter your name: ");
scanf("%s", name);
while (1) {
printf("%s\n", name);
}
}