汽车租赁管理系统———c语言课程设计#include<stdio.h> #include<string.h> #include<stdlib.h> #include<conio.h> struct member { int cardnum; char lendcar[10]; }member[5]; struct car { int carnum; char carname[20]; float carprice; char carcreat[20]; int turefalse; }car[5]; ...
1.知识目标:理解C语言的基本语法、数据类型、运算符、控制结构等基本概念;掌握函数、指针、数组等高级特性;了解C语言在汽车租赁系统中的应用。 2.技能目标:能够使用C语言编写简单的程序;能够运用C语言实现汽车租赁系统的基本功能;能够进行C语言程序的调试和优化。 3.情感态度价值观目标:培养学生对计算机科学的兴趣和热...
9、num)n=i;printf("n请输入你要归还的车型:");scanf("%s",lendcar);for(i=0;i<5;i+)while(strcmp(memberi.lendcar,lendcar)=0) cari.turefalse=1;break;printf("nn还车完毕.");printf("n 按任意键返回 n");getch();return 1;printf("nn 租赁记录不存在 .");printf("n 按任意键返回 n"...
(完整word版)汽车租赁管理系统———c语言课程设计.doc,#in cludestdio.h #in cludestri ng.h #in cludestdlib.h #in cludec oni o.h struct member { int card num; char len dcar[10]; }member[5]; struct car { int carnum; char earn ame[20]; float carprice; char car
struct C{/*这个结构体是车辆链表的头结点,A,B,C每种类型有一种*/ char Type;/*车辆型号*/ int avl; /*可用数*/ car *head;/*指向车辆结点*/ } headNode[3]={{'A',MaxNum,NULL},{'B',MaxNum,NULL},{'C',MaxNum,NULL}} ;client *allClien=NULL;int pay[3]={400,300,200}...
printf("\n你所租赁的汽车是%c类车,车号是:%d",type,carPtr->No); printf("\n你的租赁天数是%d天.",day); } void giveback() { int No; long int payment; client *ptr; printf("\n\n顾客编号:"); scanf("%d",&No); if((ptr=delCli(No))==NULL) ...
printf(”1:查询汽车\n”); printf(" 2:办理租赁\n"); printf(”3:管理系统\n"); printf(”4:归还登记\n”); printf(" 0:退出系统\n”); printf(”请输入数字0━4:\n”); ch1=getch(); switch(ch1) { case '1':chacar();break; case '2':lendcar();;break; case’3’:{ do {printf...
汽车租赁管理系统———c语言课程设计#in clude<stdio.h> #in clude<stri ng.h> #include<stdlib.h> #in clude<c oni o.h> struct member { int card num; char len dcar[10]; }member[5]; struct car { int carnum; char earn ame[20]; float carprice; char carcreat[20]; int turefalse...
printf(" 2:办理租赁\n"); printf(" 3:管理系统\n"); printf(" 4:归还登记\n"); printf(" 0:退出系统\n"); printf("请输入数字0━4:\n"); ch1=getch(); switch(ch1) { case '1':chacar();break; case '2':lendcar();;break; case '3':{ do {printf("\n\n 1:增加汽车\n"); ...
《C语言程序设计》课程设计 实验报告 题目:汽车租赁管理系统 专业: 班级: 姓名: 学号: 时间:2015年6月 一、目的 1、进一步掌握和利用C语言进行程序设计的能力; 2、进一步理解和运用结构化程序设计的思想和方法; 3、初步掌握开发一个小型实用系统的基本方法; 4、学会调试一个较长程序的基本方法; 5、学会利用...