Demo entry 6354723

1

   

Submitted by anonymous on Apr 10, 2017 at 14:43
Language: C. Code size: 433 Bytes.

void main()
{
	Z:int x,flag;
	printf("1.学生成绩输入\n");
	printf("2.成绩查询修改\n");
	printf("3.查看学生成绩\n");
	printf("4.统计学生成绩\n");
	printf("请输入:");
	scanf("%d", &x);
	switch (x)
	{
	case 1:input();break;
	case 2:modify();break;
	case 3:output();break;
	case 4:statistics();break;
	default:printf("error");break;
	}
	printf("\n\n\n是否继续操作(1:是 2:否):");
	scanf("%d", &flag);
	if (flag==1)
	{
		goto Z;
		system("cls");
	}
}

This snippet took 0.00 seconds to highlight.

Back to the Entry List or Home.

Delete this entry (admin only).