You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

13 lines
398 B

6 years ago
void list_account(FILE *fp)//<2F>г<EFBFBD><D0B3><EFBFBD><EFBFBD><EFBFBD><EFBFBD>˺<EFBFBD><CBBA><EFBFBD>Ϣģ<CFA2><EFBFBD><E9BAAF>
{
int i =0;
printf("<EFBFBD>ϼ<EFBFBD>%d<><64><EFBFBD>˺<EFBFBD>:\n",cur_account-1);// cur_account<6E><74>ȥ<EFBFBD><C8A5><EFBFBD>ӵ<EFBFBD>1
for(i = 0;i< cur_account-1;i++)
{
printf("<EFBFBD>˻<EFBFBD><EFBFBD><EFBFBD>%d:\n",i+1);
printf("<EFBFBD>˺<EFBFBD>:%d\n",accountcollection[i].account);
printf("<EFBFBD><EFBFBD><EFBFBD><EFBFBD>:%s\n",accountcollection[i].name);
printf("<EFBFBD><EFBFBD><EFBFBD><EFBFBD>:%.2f\n",accountcollection[i].balance);
}
}