1
0
mirror of https://github.com/renbaoshuo/202401-programming-assignments.git synced 2024-12-16 15:44:39 +00:00

4 lines
158 B
C
Raw Normal View History

2024-12-11 10:24:37 +08:00
double getAverage(Applicant *a) {
return a->presentation * 0.4 + a->logical * 0.5 + a->humanistic * 0.3 + a->scientific * 0.6 + a->computational * 0.8;
}