#include
#include
#include
typedef struct CabBank *AdrCabBank;
typedef struct Nasabah *AdrNasabah;
typedef struct Transaksi *AdrTransaksi;
typedef struct CabBank{
char Nama[10];
AdrCabBank next;
AdrNasabah FirstN;
};
typedef struct Nasabah{
char no_rek[9];
char nama[25];
long saldo;
AdrNasabah next;
AdrTransaksi FirstT;
};
typedef struct Transaksi{
int kode;
long jml;
char date[11];
long jmlsld;
AdrTransaksi next;};
AdrCabBank FirstB;
char pil,pil2,pil3;
void createbank();
void createTrans();
int IsEmtyB();
void searchB(char nmcab[10],AdrCabBank *AdrB);
void searchN(char noN[9],AdrCabBank AdrB,AdrNasabah *AdrN);
void searchNB(char noN[9],AdrCabBank AdrB,AdrNasabah *AdrN);
void insertB(char NmB[10]);
void insertN(char noN[9],char nmN[25],AdrCabBank AdrB);
void deletN(AdrNasabah AdrN, AdrCabBank AdrBank);
void Menabung(char tanggal[11],long Jml,AdrNasabah AdrN);
void Mengambil(char tanggal[11],long Jml,AdrNasabah AdrN);
void Transfer(char tanggal[11],long Jml,AdrNasabah AdrN,AdrNasabah AdrNT);
void Display(AdrCabBank AdrB);
void DisplayT(AdrNasabah AdrN);
void menu();
void menuu();
void menuD();
Tidak ada komentar:
Posting Komentar