#include <stdio.h>
#include <string.h>

int main() {
    char name[30];
    char ch;
    int i = 0;
    while (ch != '\n') {
        scanf("%c", &ch);
        name[i] = ch;
        i++;
    }
    name[i] = '\0';
    puts(name);
}

Embed on website

To embed this project on your website, copy the following code and paste it into your website's HTML: