#include<fstream.h>
#include<conio.h>
#include<stdio.h>
#include<process.h>
#include<ctype.h>
#include<iostream.h>

//***************************************************************
// CLASS USED IN PROJECT
//****************************************************************

class account
{
int acno, deposit, withdraw;
char name[50];
char type;
public:
void create_account()
{
  cout<<"\n\n====NEW ACCOUNT ENTRY FORM====\n\n";
  cout<<"\nEnter The account Number : ";
  cin>>acno;
  cout<<"\nEnter The Name of The account Holder : ";
  gets(name);
  cout<<"\nEnter Type of The account (C/S) : ";
  cin>>type;
  type=toupper(type);
  cout<<"\nEnter Initial amount\n>=500 for Saving >=1000 for current :";
  cin>>deposit;
  cout<<"\n\n\nYour Account Created Successfully ..";
}
void show_account()
{
  cout<<"\n\n----ACCOUNT STATUS----\n";
  cout<<"\nAccount No. : "<<acno;
  cout<<"\nAccount Holder Name : "<<name;
  cout<<"\nType of Account : "<<type;
  cout<<"\nBalance amount : "<<deposit;
}
void modify_account()
{
  cout<<"\nAccount No. : "<<acno;
  cout<<"\nModify Account Holder Name : ";
  gets(name);
  cout<<"Modify Type of Account : ";cin>>type;
  cout<<"Modify Balance amount : ";cin>>deposit;
}
void dep(int x)
{
  deposit+=x;
}
void draw(int x)
{
  deposit-=x;
}
void report()
{
  cout<<acno<<"\t"<<name<<"\t\t"<<type<<"\t\t"<<deposit<<endl;
}
int retacno()
{
  return acno;
}
float retdeposit()
{
  return deposit;
}
char rettype()
{
  return type;
}
};   //class ends here

//***************************************************************
//   global declaration for stream object, object... [continues]

Read full essay

Cite This Essay

APA

(2012, 09). Bank Management. StudyMode.com. Retrieved 09, 2012, from http://www.studymode.com/essays/Bank-Management-1101856.html

MLA

"Bank Management" StudyMode.com. 09 2012. 09 2012 <http://www.studymode.com/essays/Bank-Management-1101856.html>.

CHICAGO

"Bank Management." StudyMode.com. 09, 2012. Accessed 09, 2012. http://www.studymode.com/essays/Bank-Management-1101856.html.