Sunday, January 22, 2012

Main Code of Bank managment data base system




#include
#include
#include"Customer.h"
#include
#include"ATM.h"
#include"bank.h"
#include
#include
#include"node.h"
#include"linklist.h"
int main()
{
bank b;int no;
linklist l1;

cout<>ch;char t[1];gets(t);
while(ch=='y'||ch=='Y')
{
b.setrecord();cout<<"\nTo enter more records Press Y/y";cin>>ch;

}
b.show();
cout<<"\nHow many Customers awaiting ? :"; cin>>no;
getch();
for(int i=0;i>choice;
switch(choice)
{
case 1:
{b.help();break;}
case 2:
{b.deposit_withdraw();break;}
case 3:
{b.showrec();break;}
case 4:
{b.exit();l1. DeleteF();i++;}
default:
{cout<<"\nInvalid selection";} } } }