This document is a project report for a bank management system created in C++. It includes code for classes to create accounts, deposit and withdraw funds, and display account information. The report acknowledges help from teachers and friends. The main code defines a Bank class with functions to handle account creation, deposits, withdrawals, and displaying records. It also includes a main function with a menu to test the class functions.
1. Aryabhatta International College
of Technical Education
Ajmer, Rajasthan
A
PROJECT REPORT
ON
Bank Management: C++
Submitted in partial fulfilment for the
Award of the Degree of
BACHELOR OF COMPUTER APPLICATIONS
2017-2018
Submitted to:
Aryabhatta International College of Technical Education
Submitted by:
Harshita Bhargava
2. ACKNOWLEDGEMENT
I am thankful to Kriti Sankhla Ma’am for her valuable time she has devoted to
me and given me a lot of knowledge and help for the project. I am also thankful
to other teachers for their expert guidance. It was a great experience for me to
work and learn under their guidance.
Words defeat us in expressing our deep sense of gratitude for our friends, whose
continued resourceful support and guidance enabled me to overcome all the
challenges that I have faced while developing the project.
Harshita Bhargava
3. BANK MANAGEMENT
#include<iostream.h>
#include<conio.h>
#include<stdlib.h>
class bank
{
private:
long int ac_no,ac_type,trans,dep,with,bal1,ia,bal2,totamt;
char name[20];
public:
void create()
{
cout<<"nntt*****CREATE YOUR ACCOUNT*****";
cout<<"nnEnter the name of account holder:";
cin>>name;
cout<<"Enter the account no:";
cin>>ac_no;
cout<<"Enter the type of account:";
cout<<"n1.)Saving Accountttt2.)Current Account";
cout<<"nSelect your account type:";
cin>>ac_type;
if(ac_type==1)
{
cout<<"Saving Account";
}
else
4. {
cout<<"Current Account";
}
cout<<"nEnter initial amount:";
cout<<"n->500 for Savingt->1000 for Current:";
cin>>ia;
cout<<"nYour Account is created Successfully....";
}
void depd()
{
cout<<"nnttt*****DEPOSIT AMOUNT*****";
cout<<"nAmount to be deposited in:";
cout<<"n1.)Saving a/ctt2.)Current a/c";
cout<<"nSelect account type:";
cin>>ac_type;
cout<<"Amount to be deposited is:";
cin>>dep;
if(ac_type==1)
{
cout<<"Saving a/c";
bal1=500+dep;
cout<<"nNew balance:"<<bal1;
}
else
{
cout<<"Current a/c";
bal1=1000+dep;
cout<<"nNew balance:"<<bal1;
7. {
cout<<"nNew balance for current account:"<<bal2;
}
}
};
void main()
{
clrscr();
int ms;
bank b;
cout<<"ttt---------------------------------";
cout<<"nttt|WELCOME TO BANK OF BARODA (BOB)|";
cout<<"nttt---------------------------------";
do
{
cout<<"nnMAIN SERVICES:-";
cout<<"n1.) Create your account";
cout<<"n2.) Deposit";
cout<<"n3.) Withdraw";
cout<<"n4.) Display record";
cout<<"n5.) Exit";
cout<<"nnSelect the service:";
cin>>ms;
switch(ms)
{
case 1:
b.create();
break;