while(1)
{printf("A.增加\nB.刪除\nC.排序\nD.退出\n");
c=getchar();
if(c=='A')printf("數據已增加");
else if(c==‘B’)printf("數據已刪除");
else if(c=='C')printf("數據已排序");
else if(c=='D')break;
}