#include"stdio.h"


struct student
{
	int age;
	int  id;
	char  name[5];
};
struct student student[30];
int num=0;
int i;
void student_set(int num)
{  
	while(1)
	printf("plesase input your age");
	scanf("%d",&student[num].age);
	printf("please input your id");
	scanf("%d",&student[num].id);
	printf("please input your name");
	scanf("%s",&student[num].name[5]);
	num++;
	printf("are you continue? y\n");
	while(getchar()=='n')
	{break;}

}
void student_show(int num)
{    
	num=i;
	printf("年龄:%d 学号: %d姓名: %s",student[num].age,student[num].id,student[num].name);
}
int student_searchbyid(int id)
{   int Id;
	printf("please input the id of you search");
	scanf("%d",&Id);
{
		for(i=0;i<num;i++)
	{ if(Id==student[i].id)
	    return i;


	}
}
}
main()
{

void student_set();
int student_searchbyid(int id);
void student_show(int num);
return 0;
}