學號和分數

 avatar
user_3763047219
c_cpp
3 years ago
217 B
5
Indexable
#include<stdio.h>

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);
}
Editor is loading...