文件名称:xueshengdanganchengxu
-
所属分类:
- 标签属性:
- 上传时间:2012-11-16
-
文件大小:1.57kb
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
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
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.