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

15 lines
194 B
C
Raw Normal View History

2023-10-06 12:47:33 +00:00
#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);
}
}