文件名称:xueshengdanganchengxu
介绍说明--下载内容均来自于网络,请自行研究使用
int menu()
{
int choice
printf( "\n********************************************\n"
"**** 选择菜单 ****\n"
"********************************************\n"
"\n")
printf("\t 请选择您所需要的功能:\n")
printf("\t1.录入学生的学生证信息\n")
printf("\t2.显示指定学生学生证信息\n")
printf("\t3.显示指定班所有学生的学生证信息\n")
printf("\t4.修改指定学生的学生证信息\n")
printf("\t5.删除指定学生的学生证信息\n")
printf("\t6.统计信息\n")
printf("\t7.退出\n")
scanf(" d",&choice)
while(choice<1 ||choice>7 )
{
printf("请输入1-7之间的数字!")
scanf(" d",&choice)
getchar()
}
return choice
}-int menu () {int choice printf (" \ n******************************************** \ n " " **** select the menu**** \ n" " ******************************************** \ n " " \ n " ) printf (" \ t Please select the functions you need: \ n " ) printf (" \ t1. student' s student ID information input \ n " ) printf (" \ t2. show student ID information designated student \ n " ) printf (" \ t3. Displays the class of all students student ID information \ n " ) printf (" \ t4. Modify the specified student' s student ID information \ n" ) printf (" \ t5. delete the specified student' s student ID information \ n" ) printf (" \ t6. statistics \ n" ) printf (" \ t7. exit \ n" ) scanf (" d" , & choice) while (choice < 1 | | choice> 7) {printf (" Please enter a number between 1-7!" ) scanf (" d" , & choice) getchar () } return choice
{
int choice
printf( "\n********************************************\n"
"**** 选择菜单 ****\n"
"********************************************\n"
"\n")
printf("\t 请选择您所需要的功能:\n")
printf("\t1.录入学生的学生证信息\n")
printf("\t2.显示指定学生学生证信息\n")
printf("\t3.显示指定班所有学生的学生证信息\n")
printf("\t4.修改指定学生的学生证信息\n")
printf("\t5.删除指定学生的学生证信息\n")
printf("\t6.统计信息\n")
printf("\t7.退出\n")
scanf(" d",&choice)
while(choice<1 ||choice>7 )
{
printf("请输入1-7之间的数字!")
scanf(" d",&choice)
getchar()
}
return choice
}-int menu () {int choice printf (" \ n******************************************** \ n " " **** select the menu**** \ n" " ******************************************** \ n " " \ n " ) printf (" \ t Please select the functions you need: \ n " ) printf (" \ t1. student' s student ID information input \ n " ) printf (" \ t2. show student ID information designated student \ n " ) printf (" \ t3. Displays the class of all students student ID information \ n " ) printf (" \ t4. Modify the specified student' s student ID information \ n" ) printf (" \ t5. delete the specified student' s student ID information \ n" ) printf (" \ t6. statistics \ n" ) printf (" \ t7. exit \ n" ) scanf (" d" , & choice) while (choice < 1 | | choice> 7) {printf (" Please enter a number between 1-7!" ) scanf (" d" , & choice) getchar () } return choice
(系统自动生成,下载前可以参看下载内容)
下载文件列表
xueshengdanganchengxu.c