Question: ONLY PART E-20. #include #define CENTERHEADERA. #define REPORTHEADERA #define REPORTHEADERB #defineREPORTLNFMT #define addr(var) &var Student Average Score Calculatorln Name TI T2 T3 Avgln
ONLY PART E-20.


![Avgln" in', %3d%3d%4dm" %-10s %3d int main(void) char studentName[6+1]; int t1,t2,t3; int](https://dsd5zvtm8ll6.cloudfront.net/si.experts.images/questions/2024/09/66f4dcd9a456d_35366f4dcd916738.jpg)
#include #define CENTERHEADERA. #define REPORTHEADERA" #define REPORTHEADERB " #defineREPORTLNFMT " #define addr(var) &var Student Average Score Calculatorln Name TI T2 T3 Avgln" in', %3d%3d%4dm" %-10s %3d int main(void) char studentName[6+1]; int t1,t2,t3; int avgScore; printf(" Enter student name>"); scanf("%s", studentName); printf(" Enter three(3) test scores separate by space"); scanf"%d %d %d",addriti),addr(t2),addr(t3)); avgScore (tl +12+t3)/3; printf( CENTERHEADER); printf( REPORTHEADERA); printf( REPORTHEADERB); printf(REPORTLNFMT,studentName,tl,t2,t3,avgScore); flush(stdin).getcharO; return 0 I/ end of main() 35-50) For the "C" program above, provide the following a-5) Show the required data declarations b-10) Draw the flowchart for the program. c-5) Assume the avgScore is calculated by a module named calcAvgScore(). Show the module interface as for the proposed module and draw its flowchart. d-10) Decompose the program into a modular hierarchy - show the hichart which represents the decomposition with in-out parameter annotations #include #define CENTERHEADERA. #define REPORTHEADERA" #define REPORTHEADERB " #defineREPORTLNFMT " #define addr(var) &var Student Average Score Calculatorln Name TI T2 T3 Avgln" in', %3d%3d%4dm" %-10s %3d int main(void) char studentName[6+1]; int t1,t2,t3; int avgScore; printf(" Enter student name>"); scanf("%s", studentName); printf(" Enter three(3) test scores separate by space"); scanf"%d %d %d",addriti),addr(t2),addr(t3)); avgScore (tl +12+t3)/3; printf( CENTERHEADER); printf( REPORTHEADERA); printf( REPORTHEADERB); printf(REPORTLNFMT,studentName,tl,t2,t3,avgScore); flush(stdin).getcharO; return 0 I/ end of main() 35-50) For the "C" program above, provide the following a-5) Show the required data declarations b-10) Draw the flowchart for the program. c-5) Assume the avgScore is calculated by a module named calcAvgScore(). Show the module interface as for the proposed module and draw its flowchart. d-10) Decompose the program into a modular hierarchy - show the hichart which represents the decomposition with in-out parameter annotations