143. 學號和分數

 avatar
user_6817964
c_cpp
3 years ago
207 B
4
Indexable
struct Student {
    int m_id;
    int m_score;
};

int main() {
    struct Student x;
    scanf("%d %d", &x.m_id, &x.m_score);
    printf("(ID: %d, score: %d)", x.m_id, x.m_score);
    return 0;
}
Editor is loading...