#include #include #include typedef struct Student{ char name[20]; char sex[5]; int age; char institute[20]; char specialty[30]; }Student; typedef struct Room{ int roomnum; int roomarea; int totalnum; int stunum; Student stu[10]; Room *next; }Room; typedef struct Story{ char storynum; Room *room; }Story; /*-------------------------------------------------------------------------------------------------*/ Student *StudentCreat(int age,char name[],char institute[],char specialty[],char sex[]) { Student *Stu; Stu=(Student *)malloc(sizeof(Student)); Stu->age=age; strcpy(Stu->institute,institute); strcpy(Stu->name,name); strcpy(Stu->specialty,specialty); strcpy(Stu->sex,sex); return Stu; } Room *RoomCreat(int room_num,int room_area,int total_num,int stu_num) { Room *R; int i; R=(Room *)malloc(si