Task Description
完成結構複製,使程式正常執行。
必須使用 struct實作。
Hint
main.c
12345678910111213 #include<stdio.h> struct Student{ int m_id; int m_score;}; int main(){ struct Student x; / add your code / printf("(ID: %d, score: %d)", x.m_id, x.m_score); return 0;}
Input Format
輸入ID和分數
Output Format
印出ID和分數
Sample Input
1 10 89
Sample Output
1 (ID: 10, score: 89)