//银行交易函数
void business()
{
int choice=1;
while (choice!=3)
{
printf(\n银行交易菜单\n);
printf("\n==============================\n");
printf("\n 1 存款\n");
printf("\n 2 取款\n");
printf("\n 3 返回\n");
printf("\n==============================\n");
printf("\n请选择:");
scanf("%d%*c",&choice);
if (choice>3)
{
printf("\n请输入1-3之间的数字\n");
printf("\n按任意键返回……");
getchar();
continue;
}
if (choice==1)
{
deposit();
}
else
{
fetch();
}
}
printf("\n按任意返回主菜单……");
getchar();
}