#include <stdio.h>

typedef struct {
    int score[3];
    int max;
} Student;

int main() {

    Student std = {88,95,72,98};
    for (int i = 0;i < 4;i++) {
        if (std.max < std.score[i]) {
            std.max = std.score[i];
        }
    }
    printf("가장 높은 점수: %d",std.max);

    return 0;
}

Embed on website

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