C语言课程设计银行个人账户管理系统
char name[20]; char per[20]; float sec; float mon; };
void menu();
int reads(struct depositor dep[N]); void save(struct depositor dep[N],int n); void add(); void del(); void change(); void show(); void main() { int n; while(1) { menu();
printf("\n 请输入您要选择的操作序号,按回车键确认:"); scanf("%d",&n); switch(n) { case 1: add();break;
case 2: show();break; case 3: del();break; case 4: change();break; case 5: exit(0);
default: printf("输入错误,请输入列表中存在的序号!\n "); } } }
void menu() {
printf(" %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% ");