《(完整word版)汽车租赁管理系统———c语言课程设计.pdf》由会员分享,可在线阅读,更多相关《(完整word版)汽车租赁管理系统———c语言课程设计.pdf(10页珍藏版)》请在taowenge.com淘文阁网|工程机械CAD图纸|机械工程制图|CAD装配图下载|SolidWorks_CaTia_CAD_UG_PROE_设计图分享下载上搜索。
1、#include#include#include#include struct member int cardnum;char lendcar10;member5;struct car int carnum;char carname20;float carprice;char carcreat20;int turefalse;car5;struct card int cardnum;char sex5;char membersname20;long int memberstel;card5;findcar()char carname10;int i;printf(nn请输入你要查找的车型:n)
2、;scanf(%s,carname);for(i=0;i5;i+)while(strcmp(carname,cari.carname)=0)if(cari.turefalse=1)printf(编 号车 型品 牌n%d%s%s n,cari.carnum,cari.carname,cari.carcreat);printf(nn);printf(-此车现在无人租用n.);printf(-按任意键返回n);break;else printf(nn-这辆车已经有人借出n);break;return 0;findcar1()char carcreat10;int i;printf(nn请输入你要查找
3、的品牌:n);scanf(%s,carcreat);for(i=0;i5;i+)while(strcmp(carcreat,cari.carcreat)=0)if(cari.turefalse=1)printf(编 号车 型品 牌n%d%s%s n,cari.carnum,cari.carname,cari.carcreat);printf(nn);printf(-此车现在无人租用n.);printf(-按任意键返回 nn);break;else printf(nn-这辆车已经有人借出!n);printf(-按任意键返回nn);break;return 0;文档编码:CD3M9A10T10L8
4、 HJ8C5N5G9I5 ZL7B10Q4Y4X9文档编码:CD3M9A10T10L8 HJ8C5N5G9I5 ZL7B10Q4Y4X9文档编码:CD3M9A10T10L8 HJ8C5N5G9I5 ZL7B10Q4Y4X9文档编码:CD3M9A10T10L8 HJ8C5N5G9I5 ZL7B10Q4Y4X9文档编码:CD3M9A10T10L8 HJ8C5N5G9I5 ZL7B10Q4Y4X9文档编码:CD3M9A10T10L8 HJ8C5N5G9I5 ZL7B10Q4Y4X9文档编码:CD3M9A10T10L8 HJ8C5N5G9I5 ZL7B10Q4Y4X9文档编码:CD3M9A10T10L
5、8 HJ8C5N5G9I5 ZL7B10Q4Y4X9文档编码:CD3M9A10T10L8 HJ8C5N5G9I5 ZL7B10Q4Y4X9文档编码:CD3M9A10T10L8 HJ8C5N5G9I5 ZL7B10Q4Y4X9文档编码:CD3M9A10T10L8 HJ8C5N5G9I5 ZL7B10Q4Y4X9文档编码:CD3M9A10T10L8 HJ8C5N5G9I5 ZL7B10Q4Y4X9文档编码:CD3M9A10T10L8 HJ8C5N5G9I5 ZL7B10Q4Y4X9文档编码:CD3M9A10T10L8 HJ8C5N5G9I5 ZL7B10Q4Y4X9文档编码:CD3M9A10T10
6、L8 HJ8C5N5G9I5 ZL7B10Q4Y4X9文档编码:CD3M9A10T10L8 HJ8C5N5G9I5 ZL7B10Q4Y4X9文档编码:CD3M9A10T10L8 HJ8C5N5G9I5 ZL7B10Q4Y4X9文档编码:CD3M9A10T10L8 HJ8C5N5G9I5 ZL7B10Q4Y4X9文档编码:CD3M9A10T10L8 HJ8C5N5G9I5 ZL7B10Q4Y4X9文档编码:CD3M9A10T10L8 HJ8C5N5G9I5 ZL7B10Q4Y4X9文档编码:CD3M9A10T10L8 HJ8C5N5G9I5 ZL7B10Q4Y4X9文档编码:CD3M9A10T1
7、0L8 HJ8C5N5G9I5 ZL7B10Q4Y4X9文档编码:CD3M9A10T10L8 HJ8C5N5G9I5 ZL7B10Q4Y4X9文档编码:CD3M9A10T10L8 HJ8C5N5G9I5 ZL7B10Q4Y4X9文档编码:CD3M9A10T10L8 HJ8C5N5G9I5 ZL7B10Q4Y4X9文档编码:CD3M9A10T10L8 HJ8C5N5G9I5 ZL7B10Q4Y4X9文档编码:CD3M9A10T10L8 HJ8C5N5G9I5 ZL7B10Q4Y4X9文档编码:CD3M9A10T10L8 HJ8C5N5G9I5 ZL7B10Q4Y4X9文档编码:CD3M9A10T
8、10L8 HJ8C5N5G9I5 ZL7B10Q4Y4X9文档编码:CD3M9A10T10L8 HJ8C5N5G9I5 ZL7B10Q4Y4X9文档编码:CD3M9A10T10L8 HJ8C5N5G9I5 ZL7B10Q4Y4X9文档编码:CD3M9A10T10L8 HJ8C5N5G9I5 ZL7B10Q4Y4X9文档编码:CD3M9A10T10L8 HJ8C5N5G9I5 ZL7B10Q4Y4X9文档编码:CD3M9A10T10L8 HJ8C5N5G9I5 ZL7B10Q4Y4X9文档编码:CD3M9A10T10L8 HJ8C5N5G9I5 ZL7B10Q4Y4X9文档编码:CD3M9A10
9、T10L8 HJ8C5N5G9I5 ZL7B10Q4Y4X9文档编码:CD3M9A10T10L8 HJ8C5N5G9I5 ZL7B10Q4Y4X9文档编码:CD3M9A10T10L8 HJ8C5N5G9I5 ZL7B10Q4Y4X9文档编码:CD3M9A10T10L8 HJ8C5N5G9I5 ZL7B10Q4Y4X9文档编码:CD3M9A10T10L8 HJ8C5N5G9I5 ZL7B10Q4Y4X9文档编码:CD3M9A10T10L8 HJ8C5N5G9I5 ZL7B10Q4Y4X9文档编码:CD3M9A10T10L8 HJ8C5N5G9I5 ZL7B10Q4Y4X9文档编码:CD3M9A1
10、0T10L8 HJ8C5N5G9I5 ZL7B10Q4Y4X9文档编码:CD3M9A10T10L8 HJ8C5N5G9I5 ZL7B10Q4Y4X9文档编码:CD3M9A10T10L8 HJ8C5N5G9I5 ZL7B10Q4Y4X9文档编码:CD3M9A10T10L8 HJ8C5N5G9I5 ZL7B10Q4Y4X9文档编码:CD3M9A10T10L8 HJ8C5N5G9I5 ZL7B10Q4Y4X9文档编码:CD3M9A10T10L8 HJ8C5N5G9I5 ZL7B10Q4Y4X9chacar()char ch5;do printf(nn 1:按车型查找n);printf(2:按品牌查找
11、n);printf(0:返回n);printf(请输入 02:n);ch5=getch();switch(ch5)case 1:findcar();getch();break;case 2:findcar1();getch();break;case 0:break;default:printf(-无此操作!n);getch();break;while(ch5!=0);return 0;lendcar()int i,n;int cardnum;printf(nn请输入卡号:n);scanf(%d,&cardnum);for(i=0;i5;i+)if(cardi.cardnum=cardnum)n
12、=i;printf(n车型:);scanf(%s,membern.lendcar);for(i=0;i5;i+)if(strcmp(cari.carname,membern.lendcar)=0)if(cari.turefalse=0)printf(-对不起,此车已被租出,请重新选择n);getch();return 0;文档编码:CD3M9A10T10L8 HJ8C5N5G9I5 ZL7B10Q4Y4X9文档编码:CD3M9A10T10L8 HJ8C5N5G9I5 ZL7B10Q4Y4X9文档编码:CD3M9A10T10L8 HJ8C5N5G9I5 ZL7B10Q4Y4X9文档编码:CD3M
13、9A10T10L8 HJ8C5N5G9I5 ZL7B10Q4Y4X9文档编码:CD3M9A10T10L8 HJ8C5N5G9I5 ZL7B10Q4Y4X9文档编码:CD3M9A10T10L8 HJ8C5N5G9I5 ZL7B10Q4Y4X9文档编码:CD3M9A10T10L8 HJ8C5N5G9I5 ZL7B10Q4Y4X9文档编码:CD3M9A10T10L8 HJ8C5N5G9I5 ZL7B10Q4Y4X9文档编码:CD3M9A10T10L8 HJ8C5N5G9I5 ZL7B10Q4Y4X9文档编码:CD3M9A10T10L8 HJ8C5N5G9I5 ZL7B10Q4Y4X9文档编码:CD3
14、M9A10T10L8 HJ8C5N5G9I5 ZL7B10Q4Y4X9文档编码:CD3M9A10T10L8 HJ8C5N5G9I5 ZL7B10Q4Y4X9文档编码:CD3M9A10T10L8 HJ8C5N5G9I5 ZL7B10Q4Y4X9文档编码:CD3M9A10T10L8 HJ8C5N5G9I5 ZL7B10Q4Y4X9文档编码:CD3M9A10T10L8 HJ8C5N5G9I5 ZL7B10Q4Y4X9文档编码:CD3M9A10T10L8 HJ8C5N5G9I5 ZL7B10Q4Y4X9文档编码:CD3M9A10T10L8 HJ8C5N5G9I5 ZL7B10Q4Y4X9文档编码:CD
15、3M9A10T10L8 HJ8C5N5G9I5 ZL7B10Q4Y4X9文档编码:CD3M9A10T10L8 HJ8C5N5G9I5 ZL7B10Q4Y4X9文档编码:CD3M9A10T10L8 HJ8C5N5G9I5 ZL7B10Q4Y4X9文档编码:CD3M9A10T10L8 HJ8C5N5G9I5 ZL7B10Q4Y4X9文档编码:CD3M9A10T10L8 HJ8C5N5G9I5 ZL7B10Q4Y4X9文档编码:CD3M9A10T10L8 HJ8C5N5G9I5 ZL7B10Q4Y4X9文档编码:CD3M9A10T10L8 HJ8C5N5G9I5 ZL7B10Q4Y4X9文档编码:C
16、D3M9A10T10L8 HJ8C5N5G9I5 ZL7B10Q4Y4X9文档编码:CD3M9A10T10L8 HJ8C5N5G9I5 ZL7B10Q4Y4X9文档编码:CD3M9A10T10L8 HJ8C5N5G9I5 ZL7B10Q4Y4X9文档编码:CD3M9A10T10L8 HJ8C5N5G9I5 ZL7B10Q4Y4X9文档编码:CD3M9A10T10L8 HJ8C5N5G9I5 ZL7B10Q4Y4X9文档编码:CD3M9A10T10L8 HJ8C5N5G9I5 ZL7B10Q4Y4X9文档编码:CD3M9A10T10L8 HJ8C5N5G9I5 ZL7B10Q4Y4X9文档编码:
17、CD3M9A10T10L8 HJ8C5N5G9I5 ZL7B10Q4Y4X9文档编码:CD3M9A10T10L8 HJ8C5N5G9I5 ZL7B10Q4Y4X9文档编码:CD3M9A10T10L8 HJ8C5N5G9I5 ZL7B10Q4Y4X9文档编码:CD3M9A10T10L8 HJ8C5N5G9I5 ZL7B10Q4Y4X9文档编码:CD3M9A10T10L8 HJ8C5N5G9I5 ZL7B10Q4Y4X9文档编码:CD3M9A10T10L8 HJ8C5N5G9I5 ZL7B10Q4Y4X9文档编码:CD3M9A10T10L8 HJ8C5N5G9I5 ZL7B10Q4Y4X9文档编码
18、:CD3M9A10T10L8 HJ8C5N5G9I5 ZL7B10Q4Y4X9文档编码:CD3M9A10T10L8 HJ8C5N5G9I5 ZL7B10Q4Y4X9文档编码:CD3M9A10T10L8 HJ8C5N5G9I5 ZL7B10Q4Y4X9文档编码:CD3M9A10T10L8 HJ8C5N5G9I5 ZL7B10Q4Y4X9文档编码:CD3M9A10T10L8 HJ8C5N5G9I5 ZL7B10Q4Y4X9文档编码:CD3M9A10T10L8 HJ8C5N5G9I5 ZL7B10Q4Y4X9文档编码:CD3M9A10T10L8 HJ8C5N5G9I5 ZL7B10Q4Y4X9文档编
19、码:CD3M9A10T10L8 HJ8C5N5G9I5 ZL7B10Q4Y4X9文档编码:CD3M9A10T10L8 HJ8C5N5G9I5 ZL7B10Q4Y4X9文档编码:CD3M9A10T10L8 HJ8C5N5G9I5 ZL7B10Q4Y4X9 else membern.cardnum=cardnum;for(i=0;i5;i+)if(strcmp(cari.carname,membern.lendcar)=0)cari.turefalse=0;continue;printf(nn-操作成功,请及时提车.);printf(n-按任意键返回.n);getch();return 0;pri
20、ntf(nn-错误操作.);printf(n-按任意键返回.n);getch();return 0;printf(nn-你的卡号不存在,请申请新卡.n);printf(n-按任意键返回.n);getch();return 0;huancar()int i,n;int cardnum;char lendcar10;printf(nnn);printf(-欢迎进入还车界面-);printf(nn请你输入你的卡号:);scanf(%d,&cardnum);for(i=0;i5;i+)if(cardi.cardnum=cardnum)文档编码:CD3M9A10T10L8 HJ8C5N5G9I5 ZL7
21、B10Q4Y4X9文档编码:CD3M9A10T10L8 HJ8C5N5G9I5 ZL7B10Q4Y4X9文档编码:CD3M9A10T10L8 HJ8C5N5G9I5 ZL7B10Q4Y4X9文档编码:CD3M9A10T10L8 HJ8C5N5G9I5 ZL7B10Q4Y4X9文档编码:CD3M9A10T10L8 HJ8C5N5G9I5 ZL7B10Q4Y4X9文档编码:CD3M9A10T10L8 HJ8C5N5G9I5 ZL7B10Q4Y4X9文档编码:CD3M9A10T10L8 HJ8C5N5G9I5 ZL7B10Q4Y4X9文档编码:CD3M9A10T10L8 HJ8C5N5G9I5 ZL
22、7B10Q4Y4X9文档编码:CD3M9A10T10L8 HJ8C5N5G9I5 ZL7B10Q4Y4X9文档编码:CD3M9A10T10L8 HJ8C5N5G9I5 ZL7B10Q4Y4X9文档编码:CD3M9A10T10L8 HJ8C5N5G9I5 ZL7B10Q4Y4X9文档编码:CD3M9A10T10L8 HJ8C5N5G9I5 ZL7B10Q4Y4X9文档编码:CD3M9A10T10L8 HJ8C5N5G9I5 ZL7B10Q4Y4X9文档编码:CD3M9A10T10L8 HJ8C5N5G9I5 ZL7B10Q4Y4X9文档编码:CD3M9A10T10L8 HJ8C5N5G9I5 Z
23、L7B10Q4Y4X9文档编码:CD3M9A10T10L8 HJ8C5N5G9I5 ZL7B10Q4Y4X9文档编码:CD3M9A10T10L8 HJ8C5N5G9I5 ZL7B10Q4Y4X9文档编码:CD3M9A10T10L8 HJ8C5N5G9I5 ZL7B10Q4Y4X9文档编码:CD3M9A10T10L8 HJ8C5N5G9I5 ZL7B10Q4Y4X9文档编码:CD3M9A10T10L8 HJ8C5N5G9I5 ZL7B10Q4Y4X9文档编码:CD3M9A10T10L8 HJ8C5N5G9I5 ZL7B10Q4Y4X9文档编码:CD3M9A10T10L8 HJ8C5N5G9I5
24、ZL7B10Q4Y4X9文档编码:CD3M9A10T10L8 HJ8C5N5G9I5 ZL7B10Q4Y4X9文档编码:CD3M9A10T10L8 HJ8C5N5G9I5 ZL7B10Q4Y4X9文档编码:CD3M9A10T10L8 HJ8C5N5G9I5 ZL7B10Q4Y4X9文档编码:CD3M9A10T10L8 HJ8C5N5G9I5 ZL7B10Q4Y4X9文档编码:CD3M9A10T10L8 HJ8C5N5G9I5 ZL7B10Q4Y4X9文档编码:CD3M9A10T10L8 HJ8C5N5G9I5 ZL7B10Q4Y4X9文档编码:CD3M9A10T10L8 HJ8C5N5G9I5
25、 ZL7B10Q4Y4X9文档编码:CD3M9A10T10L8 HJ8C5N5G9I5 ZL7B10Q4Y4X9文档编码:CD3M9A10T10L8 HJ8C5N5G9I5 ZL7B10Q4Y4X9文档编码:CD3M9A10T10L8 HJ8C5N5G9I5 ZL7B10Q4Y4X9文档编码:CD3M9A10T10L8 HJ8C5N5G9I5 ZL7B10Q4Y4X9文档编码:CD3M9A10T10L8 HJ8C5N5G9I5 ZL7B10Q4Y4X9文档编码:CD3M9A10T10L8 HJ8C5N5G9I5 ZL7B10Q4Y4X9文档编码:CD3M9A10T10L8 HJ8C5N5G9I
26、5 ZL7B10Q4Y4X9文档编码:CD3M9A10T10L8 HJ8C5N5G9I5 ZL7B10Q4Y4X9文档编码:CD3M9A10T10L8 HJ8C5N5G9I5 ZL7B10Q4Y4X9文档编码:CD3M9A10T10L8 HJ8C5N5G9I5 ZL7B10Q4Y4X9文档编码:CD3M9A10T10L8 HJ8C5N5G9I5 ZL7B10Q4Y4X9文档编码:CD3M9A10T10L8 HJ8C5N5G9I5 ZL7B10Q4Y4X9文档编码:CD3M9A10T10L8 HJ8C5N5G9I5 ZL7B10Q4Y4X9文档编码:CD3M9A10T10L8 HJ8C5N5G9
27、I5 ZL7B10Q4Y4X9文档编码:CD3M9A10T10L8 HJ8C5N5G9I5 ZL7B10Q4Y4X9文档编码:CD3M9A10T10L8 HJ8C5N5G9I5 ZL7B10Q4Y4X9文档编码:CD3M9A10T10L8 HJ8C5N5G9I5 ZL7B10Q4Y4X9文档编码:CD3M9A10T10L8 HJ8C5N5G9I5 ZL7B10Q4Y4X9文档编码:CD3M9A10T10L8 HJ8C5N5G9I5 ZL7B10Q4Y4X9n=i;printf(n请输入你要归还的车型:);scanf(%s,lendcar);for(i=0;i5;i+)while(strcmp(
28、memberi.lendcar,lendcar)=0)cari.turefalse=1;break;printf(nn-还车完毕.);printf(n-按任意键返回.n);getch();return 1;printf(nn-租赁记录不存在.);printf(n-按任意键返回.n);getch();return 0;else printf(nn-卡号不存在,请与管理员联系.n);printf(n-按任意键返回.n);getch();return 0;void addcard()int i=0;char choice;for(i=0,choice=y;choice=y|choice=Y;i+)p
29、rintf(nn卡号:);scanf(%d,&cardi.cardnum);printf(n性别:);scanf(%s,cardi.sex);printf(n姓名:);scanf(%s,cardi.membersname);printf(n电话:);scanf(%ld,&cardi.memberstel);printf(nn是否要输入下一个人=(y n)nn);文档编码:CD3M9A10T10L8 HJ8C5N5G9I5 ZL7B10Q4Y4X9文档编码:CD3M9A10T10L8 HJ8C5N5G9I5 ZL7B10Q4Y4X9文档编码:CD3M9A10T10L8 HJ8C5N5G9I5 Z
30、L7B10Q4Y4X9文档编码:CD3M9A10T10L8 HJ8C5N5G9I5 ZL7B10Q4Y4X9文档编码:CD3M9A10T10L8 HJ8C5N5G9I5 ZL7B10Q4Y4X9文档编码:CD3M9A10T10L8 HJ8C5N5G9I5 ZL7B10Q4Y4X9文档编码:CD3M9A10T10L8 HJ8C5N5G9I5 ZL7B10Q4Y4X9文档编码:CD3M9A10T10L8 HJ8C5N5G9I5 ZL7B10Q4Y4X9文档编码:CD3M9A10T10L8 HJ8C5N5G9I5 ZL7B10Q4Y4X9文档编码:CD3M9A10T10L8 HJ8C5N5G9I5
31、ZL7B10Q4Y4X9文档编码:CD3M9A10T10L8 HJ8C5N5G9I5 ZL7B10Q4Y4X9文档编码:CD3M9A10T10L8 HJ8C5N5G9I5 ZL7B10Q4Y4X9文档编码:CD3M9A10T10L8 HJ8C5N5G9I5 ZL7B10Q4Y4X9文档编码:CD3M9A10T10L8 HJ8C5N5G9I5 ZL7B10Q4Y4X9文档编码:CD3M9A10T10L8 HJ8C5N5G9I5 ZL7B10Q4Y4X9文档编码:CD3M9A10T10L8 HJ8C5N5G9I5 ZL7B10Q4Y4X9文档编码:CD3M9A10T10L8 HJ8C5N5G9I5
32、 ZL7B10Q4Y4X9文档编码:CD3M9A10T10L8 HJ8C5N5G9I5 ZL7B10Q4Y4X9文档编码:CD3M9A10T10L8 HJ8C5N5G9I5 ZL7B10Q4Y4X9文档编码:CD3M9A10T10L8 HJ8C5N5G9I5 ZL7B10Q4Y4X9文档编码:CD3M9A10T10L8 HJ8C5N5G9I5 ZL7B10Q4Y4X9文档编码:CD3M9A10T10L8 HJ8C5N5G9I5 ZL7B10Q4Y4X9文档编码:CD3M9A10T10L8 HJ8C5N5G9I5 ZL7B10Q4Y4X9文档编码:CD3M9A10T10L8 HJ8C5N5G9I
33、5 ZL7B10Q4Y4X9文档编码:CD3M9A10T10L8 HJ8C5N5G9I5 ZL7B10Q4Y4X9文档编码:CD3M9A10T10L8 HJ8C5N5G9I5 ZL7B10Q4Y4X9文档编码:CD3M9A10T10L8 HJ8C5N5G9I5 ZL7B10Q4Y4X9文档编码:CD3M9A10T10L8 HJ8C5N5G9I5 ZL7B10Q4Y4X9文档编码:CD3M9A10T10L8 HJ8C5N5G9I5 ZL7B10Q4Y4X9文档编码:CD3M9A10T10L8 HJ8C5N5G9I5 ZL7B10Q4Y4X9文档编码:CD3M9A10T10L8 HJ8C5N5G9
34、I5 ZL7B10Q4Y4X9文档编码:CD3M9A10T10L8 HJ8C5N5G9I5 ZL7B10Q4Y4X9文档编码:CD3M9A10T10L8 HJ8C5N5G9I5 ZL7B10Q4Y4X9文档编码:CD3M9A10T10L8 HJ8C5N5G9I5 ZL7B10Q4Y4X9文档编码:CD3M9A10T10L8 HJ8C5N5G9I5 ZL7B10Q4Y4X9文档编码:CD3M9A10T10L8 HJ8C5N5G9I5 ZL7B10Q4Y4X9文档编码:CD3M9A10T10L8 HJ8C5N5G9I5 ZL7B10Q4Y4X9文档编码:CD3M9A10T10L8 HJ8C5N5G
35、9I5 ZL7B10Q4Y4X9文档编码:CD3M9A10T10L8 HJ8C5N5G9I5 ZL7B10Q4Y4X9文档编码:CD3M9A10T10L8 HJ8C5N5G9I5 ZL7B10Q4Y4X9文档编码:CD3M9A10T10L8 HJ8C5N5G9I5 ZL7B10Q4Y4X9文档编码:CD3M9A10T10L8 HJ8C5N5G9I5 ZL7B10Q4Y4X9文档编码:CD3M9A10T10L8 HJ8C5N5G9I5 ZL7B10Q4Y4X9文档编码:CD3M9A10T10L8 HJ8C5N5G9I5 ZL7B10Q4Y4X9文档编码:CD3M9A10T10L8 HJ8C5N5
36、G9I5 ZL7B10Q4Y4X9文档编码:CD3M9A10T10L8 HJ8C5N5G9I5 ZL7B10Q4Y4X9文档编码:CD3M9A10T10L8 HJ8C5N5G9I5 ZL7B10Q4Y4X9文档编码:CD3M9A10T10L8 HJ8C5N5G9I5 ZL7B10Q4Y4X9scanf(%s,&choice);printf(nn-输入完毕.);printf(n-任意键返回.n);getch();delcard()int i;int cardnum;char choice;printf(nn要删除的卡号:);scanf(%d,&cardnum);for(i=0;i5;i+)whi
37、le(cardi.cardnum=cardnum)printf(nn确认删除?(Y/N)n);scanf(%s,&choice);if(choice=y|choice=Y)for(;i5;i+)cardi=cardi+1;printf(nn-已删除成功!n-按任意键返回.n);getch();return 0;else printf(-已取消删除 nn);getch();return 0;void cardcount()int i,n=0;for(i=0;i5;i+)if(cardi.cardnum!=0)printf(第%d 张卡n,i+1);文档编码:CD3M9A10T10L8 HJ8C5
38、N5G9I5 ZL7B10Q4Y4X9文档编码:CD3M9A10T10L8 HJ8C5N5G9I5 ZL7B10Q4Y4X9文档编码:CD3M9A10T10L8 HJ8C5N5G9I5 ZL7B10Q4Y4X9文档编码:CD3M9A10T10L8 HJ8C5N5G9I5 ZL7B10Q4Y4X9文档编码:CD3M9A10T10L8 HJ8C5N5G9I5 ZL7B10Q4Y4X9文档编码:CD3M9A10T10L8 HJ8C5N5G9I5 ZL7B10Q4Y4X9文档编码:CD3M9A10T10L8 HJ8C5N5G9I5 ZL7B10Q4Y4X9文档编码:CD3M9A10T10L8 HJ8C
39、5N5G9I5 ZL7B10Q4Y4X9文档编码:CD3M9A10T10L8 HJ8C5N5G9I5 ZL7B10Q4Y4X9文档编码:CD3M9A10T10L8 HJ8C5N5G9I5 ZL7B10Q4Y4X9文档编码:CD3M9A10T10L8 HJ8C5N5G9I5 ZL7B10Q4Y4X9文档编码:CD3M9A10T10L8 HJ8C5N5G9I5 ZL7B10Q4Y4X9文档编码:CD3M9A10T10L8 HJ8C5N5G9I5 ZL7B10Q4Y4X9文档编码:CD3M9A10T10L8 HJ8C5N5G9I5 ZL7B10Q4Y4X9文档编码:CD3M9A10T10L8 HJ8
40、C5N5G9I5 ZL7B10Q4Y4X9文档编码:CD3M9A10T10L8 HJ8C5N5G9I5 ZL7B10Q4Y4X9文档编码:CD3M9A10T10L8 HJ8C5N5G9I5 ZL7B10Q4Y4X9文档编码:CD3M9A10T10L8 HJ8C5N5G9I5 ZL7B10Q4Y4X9文档编码:CD3M9A10T10L8 HJ8C5N5G9I5 ZL7B10Q4Y4X9文档编码:CD3M9A10T10L8 HJ8C5N5G9I5 ZL7B10Q4Y4X9文档编码:CD3M9A10T10L8 HJ8C5N5G9I5 ZL7B10Q4Y4X9文档编码:CD3M9A10T10L8 HJ
41、8C5N5G9I5 ZL7B10Q4Y4X9文档编码:CD3M9A10T10L8 HJ8C5N5G9I5 ZL7B10Q4Y4X9文档编码:CD3M9A10T10L8 HJ8C5N5G9I5 ZL7B10Q4Y4X9文档编码:CD3M9A10T10L8 HJ8C5N5G9I5 ZL7B10Q4Y4X9文档编码:CD3M9A10T10L8 HJ8C5N5G9I5 ZL7B10Q4Y4X9文档编码:CD3M9A10T10L8 HJ8C5N5G9I5 ZL7B10Q4Y4X9文档编码:CD3M9A10T10L8 HJ8C5N5G9I5 ZL7B10Q4Y4X9文档编码:CD3M9A10T10L8 H
42、J8C5N5G9I5 ZL7B10Q4Y4X9文档编码:CD3M9A10T10L8 HJ8C5N5G9I5 ZL7B10Q4Y4X9文档编码:CD3M9A10T10L8 HJ8C5N5G9I5 ZL7B10Q4Y4X9文档编码:CD3M9A10T10L8 HJ8C5N5G9I5 ZL7B10Q4Y4X9文档编码:CD3M9A10T10L8 HJ8C5N5G9I5 ZL7B10Q4Y4X9文档编码:CD3M9A10T10L8 HJ8C5N5G9I5 ZL7B10Q4Y4X9文档编码:CD3M9A10T10L8 HJ8C5N5G9I5 ZL7B10Q4Y4X9文档编码:CD3M9A10T10L8
43、HJ8C5N5G9I5 ZL7B10Q4Y4X9文档编码:CD3M9A10T10L8 HJ8C5N5G9I5 ZL7B10Q4Y4X9文档编码:CD3M9A10T10L8 HJ8C5N5G9I5 ZL7B10Q4Y4X9文档编码:CD3M9A10T10L8 HJ8C5N5G9I5 ZL7B10Q4Y4X9文档编码:CD3M9A10T10L8 HJ8C5N5G9I5 ZL7B10Q4Y4X9文档编码:CD3M9A10T10L8 HJ8C5N5G9I5 ZL7B10Q4Y4X9文档编码:CD3M9A10T10L8 HJ8C5N5G9I5 ZL7B10Q4Y4X9文档编码:CD3M9A10T10L8
44、 HJ8C5N5G9I5 ZL7B10Q4Y4X9文档编码:CD3M9A10T10L8 HJ8C5N5G9I5 ZL7B10Q4Y4X9文档编码:CD3M9A10T10L8 HJ8C5N5G9I5 ZL7B10Q4Y4X9文档编码:CD3M9A10T10L8 HJ8C5N5G9I5 ZL7B10Q4Y4X9文档编码:CD3M9A10T10L8 HJ8C5N5G9I5 ZL7B10Q4Y4X9文档编码:CD3M9A10T10L8 HJ8C5N5G9I5 ZL7B10Q4Y4X9printf(卡号性别姓名电话n);printf(ttn);printf(%d%6s%10s%ld nn,cardi.c
45、ardnum,cardi.sex,cardi.membersname,cardi.memberstel);n+;printf(n);printf(-目前共有%d 个会员.n,n);printf(-按任意键返回.n);getch();void addcar()char choice;int i;for(i=0,choice=y;choice=y|choice=Y;i+)printf(nnn编号:);scanf(%d,&cari.carnum);printf(nn车型:);scanf(%s,cari.carname);printf(nn品牌:);scanf(%s,cari.carcreat);pr
46、intf(nn租金:);scanf(%f,&cari.carprice);printf(nn请你设定车的状态=(0-不在 1-在):);scanf(%d,&cari.turefalse);printf(nn是否要输入下一辆车=(y n)nn);scanf(%s,&choice);printf(nn-输入完毕.);printf(n-任意键返回.n);getch();delcar()int i,carnum;char choice;printf(nn);printf(编号:n);文档编码:CD3M9A10T10L8 HJ8C5N5G9I5 ZL7B10Q4Y4X9文档编码:CD3M9A10T10L
47、8 HJ8C5N5G9I5 ZL7B10Q4Y4X9文档编码:CD3M9A10T10L8 HJ8C5N5G9I5 ZL7B10Q4Y4X9文档编码:CD3M9A10T10L8 HJ8C5N5G9I5 ZL7B10Q4Y4X9文档编码:CD3M9A10T10L8 HJ8C5N5G9I5 ZL7B10Q4Y4X9文档编码:CD3M9A10T10L8 HJ8C5N5G9I5 ZL7B10Q4Y4X9文档编码:CD3M9A10T10L8 HJ8C5N5G9I5 ZL7B10Q4Y4X9文档编码:CD3M9A10T10L8 HJ8C5N5G9I5 ZL7B10Q4Y4X9文档编码:CD3M9A10T10
48、L8 HJ8C5N5G9I5 ZL7B10Q4Y4X9文档编码:CD3M9A10T10L8 HJ8C5N5G9I5 ZL7B10Q4Y4X9文档编码:CD3M9A10T10L8 HJ8C5N5G9I5 ZL7B10Q4Y4X9文档编码:CD3M9A10T10L8 HJ8C5N5G9I5 ZL7B10Q4Y4X9文档编码:CD3M9A10T10L8 HJ8C5N5G9I5 ZL7B10Q4Y4X9文档编码:CD3M9A10T10L8 HJ8C5N5G9I5 ZL7B10Q4Y4X9文档编码:CD3M9A10T10L8 HJ8C5N5G9I5 ZL7B10Q4Y4X9文档编码:CD3M9A10T1
49、0L8 HJ8C5N5G9I5 ZL7B10Q4Y4X9文档编码:CD3M9A10T10L8 HJ8C5N5G9I5 ZL7B10Q4Y4X9文档编码:CD3M9A10T10L8 HJ8C5N5G9I5 ZL7B10Q4Y4X9文档编码:CD3M9A10T10L8 HJ8C5N5G9I5 ZL7B10Q4Y4X9文档编码:CD3M9A10T10L8 HJ8C5N5G9I5 ZL7B10Q4Y4X9文档编码:CD3M9A10T10L8 HJ8C5N5G9I5 ZL7B10Q4Y4X9文档编码:CD3M9A10T10L8 HJ8C5N5G9I5 ZL7B10Q4Y4X9文档编码:CD3M9A10T
50、10L8 HJ8C5N5G9I5 ZL7B10Q4Y4X9文档编码:CD3M9A10T10L8 HJ8C5N5G9I5 ZL7B10Q4Y4X9文档编码:CD3M9A10T10L8 HJ8C5N5G9I5 ZL7B10Q4Y4X9文档编码:CD3M9A10T10L8 HJ8C5N5G9I5 ZL7B10Q4Y4X9文档编码:CD3M9A10T10L8 HJ8C5N5G9I5 ZL7B10Q4Y4X9文档编码:CD3M9A10T10L8 HJ8C5N5G9I5 ZL7B10Q4Y4X9文档编码:CD3M9A10T10L8 HJ8C5N5G9I5 ZL7B10Q4Y4X9文档编码:CD3M9A10