#include#include#include#include#includevoidsys(constchar*k){printf(k);getch();}structatm{floatmoney;charcard[20];charpass[2...
#include
#include
#include
#include
#include
void sys(const char *k)
{
printf(k);
getch();
}
struct atm
{
float money;
char card[20];
char pass[20];
};
struct atm *creat()
{
struct atm *p;
p=(struct atm *)malloc(sizeof(struct atm));
printf("请输入密码:");
gets(p->pass);getchar();
printf("请输入卡号:");
gets(p->card);getchar();
printf("卡号为=%s,密码为=%s\n",p->card,p->pass);
printf("请输入预存款金额:");
scanf("%f",&p->money);
return p;
}
struct atm *qukuan(struct atm *p)
{ <