C语言 —— 银行系统我来写

#include 
#include 
#include 
#define UN 10
#define US 5 
struct KH{
  char name[10];
  char pasd[5];
  int balance;
};
typedef struct KH ke;
void menu();
void menu_y();
int cunKuan(ke p, ke *temp, int money);
int zhuanZhang(ke p, ke q, int money, ke *temp);
int get_money(ke p, ke *temp);
int check(ke p, ke *temp);

int main() {
  ke a[UN],b,c;
  int i,zhiling,money;
  strcpy(a[0].name,"name0");
  strcpy(a[1].name,"name1");
  strcpy(a[2].name,"name2");
  strcpy(a[3].name,"name3");
  strcpy(a[4].name,"name4");
  strcpy(a[5].name,"name5");
  strcpy(a[6].name,"name6");
  strcpy(a[7].name,"name7");
  strcpy(a[8].name,"name8");
  strcpy(a[9].name,"name9");
  for(i=0; i

 

你可能感兴趣的:(现实生活)