menu菜单函数 #1

Merged
p2i3t8vuh merged 1 commits from ps2zk5fnt/text4:menu into master 2 years ago

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