#include <stdio.h>

typedef struct {
    int views[3];
    int result;
} Youtube;

int main() {

    Youtube std = {1200,3450,890};
    for (int i = 0;i < 3;i++) {
        std.result += std.views[i];
    }
    printf("총 조회수: %d",std.result);

    return 0;
}

Embed on website

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