#include"stdio.h"
typedef struct str
{
char name[10];
char number[10];
float math;
float english;
int computer;
}STU;
int main()
{
STU a[3]={
{"zhanghua","9901",80.50,87,80},
{"lina ","9902",70.00,80.0,90},
{"wanggang","9903",87.00,76.0,78}
};
int i;
printf("name\t\tnumber\tmath\tenglish\tcomputer\n");
for(i=0;i<3;i++)
{
printf("%s\t%s\t%.2f\t%.2f\t%d\n",a[i].name,a[i].number,a[i].math,a[i].english ,a[i].computer);
}