#include <stdio.h>
    
int main() {
    //초기화 할것!!!!!!!!!!!! 아니면 쓰레기 값 
    //초기화 안할거면 전역 변수로!!!!!
    char str[5][15]={0};
    for (int i=0; i<5; i++) {
        scanf("%s",str[i]);
    }
    
    for(int i=0; i<15; i++) {
        for (int j=0; j<5; j++) {
            if (str[j][i]!=0) 
                printf("%c",str[j][i]);
        }
    }

    return 0;
}

Embed on website

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