forked from p2i3t8vuh/text4
Merge pull request 'menu菜单函数' (#1) from ps2zk5fnt/text4:menu into master
commit
3ee923b885
@ -0,0 +1,11 @@
|
|||||||
|
int Menu(void)
|
||||||
|
{
|
||||||
|
int itemSelected;
|
||||||
|
printf("Management for Students' scores\n");
|
||||||
|
printf("1.Input record\n");
|
||||||
|
printf("2.Calculate total and average score of every course\n");
|
||||||
|
printf("0.Exit\n");
|
||||||
|
printf("Please Input your choice:");
|
||||||
|
scanf("%d", &itemSelected); // 读入用户输入
|
||||||
|
return itemSelected;
|
||||||
|
}
|
Loading…
Reference in new issue