ntf("\n");}scanf("%c",&ch);do{printf("\t\t有您满意的座位吗?(y/n)");scanf("%c",&ch);}while(ch!='y'&&ch!='Y'&&ch!='n'&&ch!='N');if(ch=='y'||ch=='Y'){do{printf("\t\t请输入您满意的座位排数及编号:(如10D)\n\t\t");scanf("%d%c",&row,&n);num=(int)(n-65);if(plane1.p[row-1][num]==true){printf("\t\t对不起,此座位已出售!请重新选择!\n");flag=true;}}while(row<1||row>20||n<'A'||n>'D'||flag==true);plane1.p[row-1][num]=true;printf("\t\t请输入您的姓名:");scanf("%s",name);printf("\t\t请确认您的姓名:");scanf("%s",ck[c].NAME);printf("\t\t请输入您的身份证号:");scanf("%s",id);printf("\t\t请确认您的身份证号:");scanf("%s",ck[c].ID);printf("\t\t恭喜您,订票成功!\n");printf("\t\t您的信息:\n");printf("\t\t姓名:%s\n",ck[c].NAME);printf("\t\t身份证号:%s\n",ck[c].ID);printf("\t\t座位:%d%c\n",row,n);printf("\t\t祝您旅途愉快!\n");c++;}elseprintf("\t\t对不起,请您选择另一航班!");?}?break;case2:;?break;}}return0;}(报告以此为模板,打印装订后上交)