#include <stdio.h>

int main() {
    char buffer[100];
    fgets(buffer, sizeof(buffer), stdin);
    printf("入力された文字列: %s\n", buffer);
    fgets(buffer, sizeof(buffer), stdin);
    printf("入力された文字列: %s\n", buffer);
    return 0;
}

Embed on website

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