t i,j; char temp[30]; for (i=0;i{ printf("\nInput Name,Number,English,Mathema,Physic\n"); g e t s ( a r r [ i ] . n a m e ) ; g e t s ( t e m p ) ; a r r [ i ] . n u m b e r = a t o l ( t e m p ) ; f o r ( j = 0 ; j < 4 ; j + + ) p r i n t f ( " % 7 . 2 f | " , a r r [ i ] . s c o r e [ j ] ) ; p r i n t f ( " \ n " ) ; p r i n t f ( " - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ n " ) ; } } / * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * / void out_row(arr,n) int n; struct stu arr[]; { float row[4]={0,0,0,0}; int i,j; f o r ( i = 0 ; i < 4 ; i + + ) { f o r ( j = 0 ; j < n ; j + + ) r o w [ i ] = r o w [ i ] + a r r [ j ] . s c o r e [ i ] ; r o w [ i ] = r o w [ i ] / n ; } printf("|%19c|",' '); for (i=0;i<4;i++) p r i n t f ( " % 7 . 2 f | " , r o w [ i ] ) ; p r i n t f ( " \ n - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ n " ) ; }