猿问

c++结构体及应用,空白求代码

567166100001cdef05000160.jpg

#include "stdio.h"

#include "conio.h"

#include "string.h"

#define NU 35

struct student

{

long nium;

char name[10];

fioat score[3];

float aver_person;

float sun_person,

int norder;

};

printf(struct student *p,int cx_num)

{


}

calc_order(struct student*p)

{


}

scan(struct student*p)

{


}

main()

{

(struct student stu[NU];

int xuehao;

scan(stu);

calc_order(stu);

do

{

printf("请输入要查询的学生的学号(输入0表示结束):");

scanf("%d",&xuehao);

print(stu,xuehao);

}while(xuehao!=0);

}


釋汐
浏览 1551回答 0
0回答
随时随地看视频慕课网APP
我要回答