2025-03-20
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
#include <stdio.h>
|
||||
typedef struct score{
|
||||
float medScore;
|
||||
float endScore;
|
||||
}score;
|
||||
|
||||
int main(){
|
||||
score s;
|
||||
scanf("%f %f", &s.medScore, &s.endScore);
|
||||
|
||||
printf("avg=%.2f\n", (s.medScore + s.endScore)/2);
|
||||
return 0;
|
||||
}
|
||||
Reference in New Issue
Block a user