freepeople性欧美熟妇, 色戒完整版无删减158分钟hd, 无码精品国产vα在线观看DVD, 丰满少妇伦精品无码专区在线观看,艾栗栗与纹身男宾馆3p50分钟,国产AV片在线观看,黑人与美女高潮,18岁女RAPPERDISSSUBS,国产手机在机看影片

正文內(nèi)容

c語言課程設計-飛機定票系統(tǒng)(編輯修改稿)

2024-10-08 20:54 本頁面
 

【文章內(nèi)容簡介】 適時的處理 { printf(\n\t\t 您輸入的時間有點不和實際!請確定是否重新輸入(y/n))。 ch1=getch()。//輸入一個字符 if(ch1==39。n39。||ch==39。N39。)//判斷字符 { printf(\n\t\t您放棄時間重新輸入! )。 goto gomi。 //轉(zhuǎn)至出發(fā)分的輸入 } printf(\n\t\t請重新輸入時間! )。 goto go。 } fflush(stdin)。 gomi:printf(\n出發(fā)時間分 :)。 24 scanf(%d,amp。p_fight[count].)。 if(!(0=p_fight[count].amp。amp。p_fight[count].inute=59)) { printf(\n\t\t 您輸入的時間有點不和實際!請確定是否重新輸入(y/n))。 ch1=getch()。 if(ch1==39。n39。||ch==39。N39。) { printf(\n\t\t您放棄時間重新輸入! )。 goto arry。 } printf(\n\t\t請重新輸入時間! )。 goto gomi。 } fflush(stdin)。 arry:printf(\n到達時間年 :)。//輸入到達時間 scanf(%d,amp。p_fight[count].)。 if(p_fight[count].p_fight[count].)//判斷輸入到達的年份是否為有效,到達時間不能小于出發(fā)時間(下同) { printf(您輸入的到達時間小于起飛時間 ,請重新輸入到達時間年 !)。 goto arry。 } if(!(1500p_fight[count].amp。amp。p_fight[count].ryear4000)) { 25 printf(\n\t\t 您輸入的年份有點不和實際!請確定是否重新輸入(y/n))。 ch1=getch()。 if(ch1==39。n39。||ch==39。N39。) { printf(\n\t\t您放棄重新輸入年份! )。 goto arrm。 } printf(\n\t\t請重新輸入年份! )。 goto arry。 } fflush(stdin)。 arrm:printf(\n到達時間月 :)。 scanf(%d,amp。p_fight[count].)。 if(p_fight[count].==p_fight[count].amp。amp。p_fight[count].p_fight[count].) { printf(您輸入的到達時間小于起飛時間 ,請重新輸入到達時間月 !)。 goto arrm。 } if(!(0p_fight[count].amp。amp。p_fight[count].th=12)) { printf(\n\t\t 您輸入的月份有點不和實際!請確定是否重新輸入(y/n))。 ch1=getch()。 if(ch1==39。n39。||ch==39。N39。) { 26 printf(\n\t\t您放棄重新輸入月份! )。 goto arrd。 } printf(\n\t\t請重新輸入月份! )。 goto arrm。 } fflush(stdin)。 arrd:printf(\n到達時間日 :)。 scanf(%d,amp。p_fight[count].)。 if(p_fight[count].==p_fight[count].amp。amp。p_fight[count].p_fight[count].) { printf(您輸入的到達時間小于起飛時間 ,請重新輸入到達時間日 !)。 goto arrd。 } if(!(0p_fight[count].amp。amp。p_fight[count].=31)) { printf(\n\t\t 您輸入的日有點不和實際!請確定是否重新輸入(y/n))。 ch1=getch()。 if(ch1==39。n39。||ch==39。N39。) { printf(\n\t\t您放棄日重新輸入! )。 goto arrh。 } printf(\n\t\t請重新輸入日! )。 27 goto arrd。 } fflush(stdin)。 arrh:printf(\n到達時間時 :)。 scanf(%d,amp。p_fight[count].)。 if(p_fight[count].==p_fight[count].amp。amp。p_fight[count].==p_fight[count].amp。amp。p_fight[count].p_fight[count].) { printf(您輸入的到達時間小于起飛時間 ,請重新輸入到達時間時 !)。 goto arrh。 } if(!(0=p_fight[count].amp。amp。p_fight[count].our=23)) { printf(\n\t\t 您輸入的時間有點不和實際!請確定是否重新輸入(y/n))。 ch1=getch()。 if(ch1==39。n39。||ch==39。N39。) { printf(\n\t\t您放棄時間重新輸入! )。 goto arrmi。 } printf(\n\t\t請重新輸入時間! )。 goto arrh。 } fflush(stdin)。 28 arrmi:printf(\n 到達時間分 :)。 scanf(%d,amp。p_fight[count].)。 if(p_fight[count].==p_fight[count].amp。amp。p_fight[count].==p_fight[count].amp。amp。p_fight[count].==p_fight[count].amp。amp。p_fight[count].fighp_fight[count].) { printf(您輸入的到達時間小于起飛時間 ,請重新輸入到達 時間分 !)。 goto arrmi。 } if(!(0=p_fight[count].amp。amp。p_fight[count].rminute=59)) { printf(\n\t\t 您輸入的時間有點不和實際!請確定是否重新輸入(y/n))。 ch1=getch()。 if(ch1==39。n39。||ch==39。N39。) { printf(\n\t\t您放棄時間重新輸入! )。 goto reb。 } printf(\n\t\t請重新輸入時間! )。 goto arrmi。 } fflush(stdin)。 reb:printf(\n折扣 :)。 scanf(%d,amp。p_fight[count].)。 if(!(0p_fight[count].amp。amp。p_fight[count]. 29 =100)) { printf(\n\t\t 您輸入的折扣有點不和實際!請確定是否 重新輸入(y/n))。 ch1=getch()。 if(ch1==39。n39。||ch==39。N39。) { printf(\n\t\t您放棄折扣重新輸入! )。 goto alls。 } printf(\n\t\t請重新輸入折扣! )。 goto reb。 } fflush(stdin)。 alls:printf(\n總票數(shù) :)。 scanf(%d,amp。p_fight[count].)。 fflush(stdin)。 surp:printf(\n剩余票數(shù) :)。 scanf(%d,amp。p_fight[count].)。 if(p_fight[count].p_fight[count].ticket) { printf(您輸入的剩余票不合乎實際 !!!請重新輸入 !)。 goto surp。 } fflush(stdin)。//清空緩存 fwrite(amp。p_fight[count++].fight1,sizeof(struct fightinfo),1,fightfile)。 //將信息寫入文件 30 printf(是否錄入下一個飛機票信息 (y/n))。//詢問是否輸入下一個機票信息 ch=getch()。 //輸入一個字符 if(ch==39。y39。||ch==39。Y39。)//判斷字符的輸入 { system(cls)。 printf(\n 請輸入下一個飛機票信息 \n)。 printf(\n 航班號 :)。 continue。 //繼續(xù)輸入下一個飛機票信息 } else { printf(\n\n飛機票信息錄入結束,返回 !)。 fclose(fightfile)。 //關閉文件 getch()。 //返回子菜單 system(cls)。//清屏 return 。 } } printf(輸入有誤,終止飛機票信息錄信,返回 !)。 getch()。//等待輸入字符 system(cls)。 return 。 //返回 31 :( 附) /* **************************************** * Author:飛機訂票系統(tǒng)組 * Datetime:2020/06*/ include include include include include define fightMAX 1000 void inputinfo(struct allfightinfo *)。//機票信息錄入 void filename1read (struct allfightinfo *)。//旅客信息信息讀取 void allabout(struct allfightinfo *)。 //查詢所有信息 void mofinfo(struct allfightinfo *)。//修改機票信息 void password()。//密碼驗證 int checkcode()。//身份驗證 void allabout(struct allfightinfo *)。 //查詢所有信息 void mofinfo(struct allfightinfo *)。//修改機票信息 void password()。//密碼驗證 int checkcode()。//身份驗證 void modifycode()。//修改登陸密碼 void delinfo(struct allfightinfo *)。//刪除 void fightcontrol(struct allfightinfo *)。//機票管理模塊 void bookticket(struct allfightinfo *p_fight)。//訂票系統(tǒng) void display(struct allfightinfo *p_fight)。//顯示模塊 void returnticket(struct allfightinfo *p_fight)。//退票 void enquiry(struct allfightinfo *p_fight)。//查詢模塊 void wele()。//歡迎 void modifycode()。//修改登陸密碼 void delinfo(struct allfightinfo *)。//刪除 void fightcontrol(struct allfightinfo *)。//機票管理模塊 void bookticket(struct allfight
點擊復制文檔內(nèi)容
高考資料相關推薦
文庫吧 www.dybbs8.com
備案圖片鄂ICP備17016276號-1