Merge pull request 'menu菜单函数' (#1) from ps2zk5fnt/text4:menu into master

master
p2i3t8vuh 2 years ago
commit 3ee923b885

11
menu

@ -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…
Cancel
Save