// hw13.cpp : 定義主控台應用程式的進入點。
//
#include "stdafx.h"
#include "stdlib.h"
#include "stdio.h"
struct student {
int stu_total;
int totalScore;
int Score1;
int Score2;
int Score3;
int Score4;
int Score5;
float ScoreAvg;
};
FILE *fp;
void display(struct student);
void display(struct student tempStu){
printf("%d\t%d\t%d\t%d\t%d\t%d\t%d\t%.4f\n",\
tempStu.stu_total,tempStu.totalScore ,tempStu.Score1, tempStu.Score2,
tempStu.Score3, tempStu.Score4, tempStu.Score5,tempStu.ScoreAvg);
}
Ly8gaHcxMy5jcHAgOiDlrprnvqnkuLvmjqflj7Dmh4nnlKjnqIvlvI/nmoTpgLLlhaXpu57jgIIKLy8KCiNpbmNsdWRlICJzdGRhZnguaCIKI2luY2x1ZGUgInN0ZGxpYi5oIgojaW5jbHVkZSAic3RkaW8uaCIKCnN0cnVjdCBzdHVkZW50IHsKICAgIGludCBzdHVfdG90YWw7CglpbnQgdG90YWxTY29yZTsKCWludCBTY29yZTE7CglpbnQgU2NvcmUyOwoJaW50IFNjb3JlMzsKCWludCBTY29yZTQ7CglpbnQgU2NvcmU1OwoJZmxvYXQgU2NvcmVBdmc7Cn07CgpGSUxFICpmcDsKCnZvaWQgZGlzcGxheShzdHJ1Y3Qgc3R1ZGVudCk7CnZvaWQgZGlzcGxheShzdHJ1Y3Qgc3R1ZGVudCB0ZW1wU3R1KXsKCXByaW50ZigiJWRcdCVkXHQlZFx0JWRcdCVkXHQlZFx0JWRcdCUuNGZcbiIsXAoJCSAgIHRlbXBTdHUuc3R1X3RvdGFsLHRlbXBTdHUudG90YWxTY29yZSAsdGVtcFN0dS5TY29yZTEsIHRlbXBTdHUuU2NvcmUyLAoJCSAgIHRlbXBTdHUuU2NvcmUzLCB0ZW1wU3R1LlNjb3JlNCwgdGVtcFN0dS5TY29yZTUsdGVtcFN0dS5TY29yZUF2Zyk7Cn0=