mirror of
https://github.com/renbaoshuo/202401-programming-assignments.git
synced 2024-12-16 15:44:39 +00:00
4 lines
158 B
C
4 lines
158 B
C
|
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;
|
||
|
}
|