Академический Документы
Профессиональный Документы
Культура Документы
SYSTEM
CHAPTER 1
INTRODUCTION
The “Banking Management System” is system provides the access to the
customer to create an account, deposit/withdraw the cash from his
account, also to view reports of all accounts present. The customers can
access the banks website for viewing their Account details and perform
the transactions son account as per their requirements. With Internet
Banking, the brick and mortar structure of the traditional banking gets
converted into a click and portal model, thereby giving a concept of
virtual banking a real shape. Thus today's banking is no longer confined
to branches. E-banking facilitates banking transactions by customers
round the clock globally.
Shivangi Mishra 1
NIELIT “A” LEVEL BANKING MANAGEMENT
SYSTEM
is a part where customer takes shelter of the bank. Now to keep the belief
and trust of customers, there is the positive need for management of the
bank, which can handle all this with comfort and ease. Smooth and
efficient management affects the satisfaction of the customers and staff
members, indirectly. And of course, it encourages management
committee in taking some needed decision for future enhancement of the
bank.
Shivangi Mishra 2
NIELIT “A” LEVEL BANKING MANAGEMENT
SYSTEM
Shivangi Mishra 3
NIELIT “A” LEVEL BANKING MANAGEMENT
SYSTEM
also reduces the load of real time computation. This software enables
faster transaction like new account creation, withdrawal of cash from the
account, deposit of cash to the account, checking account balance of the
account holder even if there are large amount of data in the system
database.
CHAPTER 2
ABSTRACT
Shivangi Mishra 4
NIELIT “A” LEVEL BANKING MANAGEMENT
SYSTEM
Shivangi Mishra 5
NIELIT “A” LEVEL BANKING MANAGEMENT
SYSTEM
Shivangi Mishra 6
NIELIT “A” LEVEL BANKING MANAGEMENT
SYSTEM
CHAPTER 3
Shivangi Mishra 7
NIELIT “A” LEVEL BANKING MANAGEMENT
SYSTEM
Working personnel of the particular bank will make to make all the
operations which are required within the banking premises. The
operations which can be performed by the bank personnel are: Adding
new customer account, edit existing customer account, list all customer
details including their account number, able to generate daily and
monthly business transactions report etc. Its user friendly graphical mode
will made its users to work with this new system in more interactive way.
Shivangi Mishra 8
NIELIT “A” LEVEL BANKING MANAGEMENT
SYSTEM
This project includes the entire upgraded feature required for the
computerization banking system. This system is very easy to use, so that
any user can use without getting pre-knowledge about this. It’s very
much user friendly and meet almost all daily working process
requirements. This system is completely GUI based and can be use by
mouse and as well as keyboard. This system is melded in such a way that
has got all features to upgrade without making much change in existing
components.
LIMITATION OF PROJECT
Shivangi Mishra 9
NIELIT “A” LEVEL BANKING MANAGEMENT
SYSTEM
Limited Accessibility
Less Efficient
1. Main Goals:
Our motto is to develop a software program for managing the entire bank
process related to Administration accounts customer accounts and to
keep each every track about their property and their various transaction
processes efficiently.
Shivangi Mishra 10
NIELIT “A” LEVEL BANKING MANAGEMENT
SYSTEM
2. Customer Satisfaction:
Client can do his operations comfortably without any risk or losing of his
privacy.
Our software will perform and fulfill all the tasks that any customer
would desire.
5. Transferring Money:
6. Aim:
Shivangi Mishra 11
NIELIT “A” LEVEL BANKING MANAGEMENT
SYSTEM
CHAPTER 4
Shivangi Mishra 12
NIELIT “A” LEVEL BANKING MANAGEMENT
SYSTEM
Shivangi Mishra 13
NIELIT “A” LEVEL BANKING MANAGEMENT
SYSTEM
solutions are given as proposals. The proposal is then weighed with the
existing system analytically and the best one is selected. The proposal is
presented to the user for an endorsement by the user. The
proposal is reviewed on user request and suitable changes are made. This
is loop that ends as soon as the user is satisfied with proposal.
Preliminary study is the process of gathering and interpreting facts, using
the information for further studies on the system. Preliminary study is
problem solving activity that requires intensive communication between
the system users and system developers. It does various feasibility
studies. In these studies a rough figure of the system activities can be
obtained, from which the decision about the strategies to be followed for
effective system study and analysis can be taken.
EXISTING SYSTEM
In the existing system the transactions are done only manually but in
proposed system we have to computerize all the banking transaction
using the software banking system.
Shivangi Mishra 14
NIELIT “A” LEVEL BANKING MANAGEMENT
SYSTEM
PROPOSED SYSTEM
The aim of proposed system is to develop a system of improved
facilities. The proposed system can overcome all the limitations of the
existing system. The system provides proper security and reduces the
manual work.
Security of data
Proper control of the higher officials
Shivangi Mishra 15
NIELIT “A” LEVEL BANKING MANAGEMENT
SYSTEM
CHAPTER 5
PURPOSE
Shivangi Mishra 16
NIELIT “A” LEVEL BANKING MANAGEMENT
SYSTEM
Our software will perform and fulfill all the tasks that any customer
would desire.
Our motto is to develop a software program for managing the entire bank
process related to customer accounts, employee accounts and to keep
each every track about their property and their various transaction
processes efficiently.
What to expect:
1. View balances: Firstly login your account with your account number
and password. Then checking your balance doesn't require much work.
You simply select Account balances and take a look at your balance and
past transactions. If you have more than one account, you can also do
transfers between accounts.
Shivangi Mishra 17
NIELIT “A” LEVEL BANKING MANAGEMENT
SYSTEM
5. Pay bills: To pay your bills online, you just need to add to your
account the names of the companies you wish to pay bills to.
Scope
Admin :
Shivangi Mishra 18
NIELIT “A” LEVEL BANKING MANAGEMENT
SYSTEM
Admin login
Add/delete/update account
Withdrawal/deposit/statements transaction
Account Information
Active/Inactive account
Shivangi Mishra 19
NIELIT “A” LEVEL BANKING MANAGEMENT
SYSTEM
Features
Admin must approve the user account activation before it can be used
and transferring funds, view statement history.
Customer gets to know his last login date and time each time he logs
in.
All two of them (customer & admin) can change their password.
Admin Login pages are hidden from customer for security purpose.
Shivangi Mishra 20
NIELIT “A” LEVEL BANKING MANAGEMENT
SYSTEM
Shivangi Mishra 21
NIELIT “A” LEVEL BANKING MANAGEMENT
SYSTEM
CHAPTER 6
Shivangi Mishra 22
NIELIT “A” LEVEL BANKING MANAGEMENT
SYSTEM
A project is a group of source files and the settings with which you
build, run, and debug those source files. In the IDE, all CPP development
has to take place within a project. For applications that involve large
code bases, it is often advantageous to split your application source code
into several projects
CHAPTER 7
Shivangi Mishra 23
NIELIT “A” LEVEL BANKING MANAGEMENT
SYSTEM
SPECIFIC REQUIREMENT
Requirements are prone to issues of ambiguity, incompleteness, and
inconsistency. Techniques such as rigorous inspection have been shown
to help deal with these issues. Ambiguities, incompleteness, and
inconsistencies that can be resolved in the requirements phase typically
cost orders of magnitude less to correct than when these same issues are
found in later stages of product development. Requirements analysis
strives to address these issues.
3. Are costly to produce requirements for both the system and the
software are documented and reviewed with the customer.
Shivangi Mishra 24
NIELIT “A” LEVEL BANKING MANAGEMENT
SYSTEM
Requirements for both the system and the software are documented and
reviewed with the customer.
USER INTERFACE
BANKING_FACILITIES ..
LOGIN FORM FOR TRANSACTION
ACCOUNT OPENING FORM
TRANSACTION FORM
CHECK BALANCE FORM
CASH DEPOSIT FORM
VIEW ALL ACCOUNT FORM
HELP FORM
CASH WITHDRAWL FORM.
LOAN REQUESTS
HARDWARE INTERFACE
Shivangi Mishra 25
NIELIT “A” LEVEL BANKING MANAGEMENT
SYSTEM
Input Device
Keyboard :108Keys
Mouse :Optical mouse
Output Device
Software interface
Shivangi Mishra 26
NIELIT “A” LEVEL BANKING MANAGEMENT
SYSTEM
Security:
1.The Branch where the customer maintains his/her account will assign:
b) Password
Shivangi Mishra 27
NIELIT “A” LEVEL BANKING MANAGEMENT
SYSTEM
URL address on the address bar of your internet browser begins with
"https"; the letter’s at the end of "https" means 'secured'.
Look for the padlock symbol either in the address bar or the status bar
(mostly in the address bar) but not within the web page display area.
Verify the security certificate by clicking on the padlock.
The address bar has turned to green indicating that the site is secured
with an SSL Certificate.
CHAPTER 8
Shivangi Mishra 28
NIELIT “A” LEVEL BANKING MANAGEMENT
SYSTEM
Shivangi Mishra 29
NIELIT “A” LEVEL BANKING MANAGEMENT
SYSTEM
ECONOMIC FEASIBILITY
Shivangi Mishra 30
NIELIT “A” LEVEL BANKING MANAGEMENT
SYSTEM
Shivangi Mishra 31
NIELIT “A” LEVEL BANKING MANAGEMENT
SYSTEM
CHAPTER 9
MODULAR DESCRIPTION:
1. Name
2. Address
3. Initial deposit amount
Shivangi Mishra 32
NIELIT “A” LEVEL BANKING MANAGEMENT
SYSTEM
Module 2- Deposit:
1. Account number
2. Amount to deposit
Module 3-withdrawal:
1. Account number
2. Amount to be withdraw
1. Account number
2 .Withdraw amount
Shivangi Mishra 33
NIELIT “A” LEVEL BANKING MANAGEMENT
SYSTEM
Shivangi Mishra 34
NIELIT “A” LEVEL BANKING MANAGEMENT
SYSTEM
CHAPTER 10
(fig :1)
Shivangi Mishra 35
NIELIT “A” LEVEL BANKING MANAGEMENT
SYSTEM
performed, in what order, and under what circumstances, but not what
kinds of data will be input to and output from the system, nor where the
data will come from and go to, nor where the data will be stored (all of
which are shown on a DFD).
(f
ig:2)
Shivangi Mishra 36
NIELIT “A” LEVEL BANKING MANAGEMENT
SYSTEM
(fig:3)
(fig:4)
Shivangi Mishra 37
NIELIT “A” LEVEL BANKING MANAGEMENT
SYSTEM
Shivangi Mishra 38
NIELIT “A” LEVEL BANKING MANAGEMENT
SYSTEM
Shivangi Mishra 39
NIELIT “A” LEVEL BANKING MANAGEMENT
SYSTEM
CHAPTER 11
E-R DIAGRAM
Shivangi Mishra 40
NIELIT “A” LEVEL BANKING MANAGEMENT
SYSTEM
CHAPTER 12
UNIFIED MODELING LANGUAGE
The Unified Modeling Language (UML) is used to specify, visualize,
modify, construct and document the artifacts of an object-oriented
software-intensive system under development. UML offers a standard
way to visualize a system's architectural blueprints, including elements
such as:
Shivangi Mishra 41
NIELIT “A” LEVEL BANKING MANAGEMENT
SYSTEM
UML DIAGRAMS
Diagram types:
1 .Static
2 .Dynamic
A .Activity Diagram .
B . Collaboration Diagram
C . Sequence Diagram
Shivangi Mishra 42
NIELIT “A” LEVEL BANKING MANAGEMENT
SYSTEM
Shivangi Mishra 43
NIELIT “A” LEVEL BANKING MANAGEMENT
SYSTEM
Shivangi Mishra 44
NIELIT “A” LEVEL BANKING MANAGEMENT
SYSTEM
CLASS DIAGRAM
ACTIVITY DIAGRAM
Shivangi Mishra 45
NIELIT “A” LEVEL BANKING MANAGEMENT
SYSTEM
Create Account +
Deposit Initial Balance
Deposit
Amount
Withdraw
Amount
Check
Balance
Shivangi Mishra 46
NIELIT “A” LEVEL BANKING MANAGEMENT
SYSTEM
admin log in
Login Login
Failed Successfull
Already have an account
If have no account
Transaction
Create
Account
COMPONENT DIAGRAM
Shivangi Mishra 47
NIELIT “A” LEVEL BANKING MANAGEMENT
SYSTEM
3: Deposits Money
5: Withdraws Amount
Accountan
t
SOURCE CODE
Shivangi Mishra 48
NIELIT “A” LEVEL BANKING MANAGEMENT
SYSTEM
CHAPTER 13
SOURCE CODE
Shivangi Mishra 49
NIELIT “A” LEVEL BANKING MANAGEMENT
SYSTEM
//*********************************************************
//*********************************************************
//*********************************************************
#include<iostream.h>
#include<fstream.h>
#include<process.h>
#include<string.h>
#include<stdio.h>
#include<ctype.h>
#include<conio.h>
#include<dos.h>
#include<stdlib.h>
Shivangi Mishra 50
NIELIT “A” LEVEL BANKING MANAGEMENT
SYSTEM
#include<iomanip.h>
#include<graphics.h>
int scan; // To hold the special characters for moving the prompt in
menu
int ascii;
//*********************************************************
*******
//*********************************************************
*******
option a[]= {
"NewAccount",
"ListofAccounts",
Shivangi Mishra 51
NIELIT “A” LEVEL BANKING MANAGEMENT
SYSTEM
"IndAccount",
"DailyTrans",
"MonthlyReport",
"EditAccount",
"Exit"};
option b[] = {
"Modify Account",
"Closeaccount",
"Quit"
};
class main_menu
int i,done;
Shivangi Mishra 52
NIELIT “A” LEVEL BANKING MANAGEMENT
SYSTEM
public:
char menu();
void control_menu();
char e_menu();
void edit_menu();
void help(void);
};
//*********************************************************
*******
Shivangi Mishra 53
NIELIT “A” LEVEL BANKING MANAGEMENT
SYSTEM
//*********************************************************
*******
class shape
public:
};
class initial
public:
Shivangi Mishra 54
NIELIT “A” LEVEL BANKING MANAGEMENT
SYSTEM
int found_account(int);
char *return_name(int);
char *return_address(int);
float give_balance(int);
int recordno(int);
Shivangi Mishra 55
NIELIT “A” LEVEL BANKING MANAGEMENT
SYSTEM
private:
int accno;
float balance;
};
class account
public:
Shivangi Mishra 56
NIELIT “A” LEVEL BANKING MANAGEMENT
SYSTEM
private:
int accno;
int dd, mm, yy; // To store the system date/ Enter date
Shivangi Mishra 57
NIELIT “A” LEVEL BANKING MANAGEMENT
SYSTEM
};
// Function to displays all the menu prompt messages from the pointer
array of
// option a[]
gotoxy(x,y);
cprintf("%s",str);
// Function to move the cursor on the menu prompt with a reverse video
color
Shivangi Mishra 58
NIELIT “A” LEVEL BANKING MANAGEMENT
SYSTEM
textcolor(5+143);
textbackground(WHITE);
gotoxy(x,y);
cprintf("%s",str);
textcolor(GREEN);
textbackground(BLACK);
gotoxy(col,y1);
cprintf("%c",196);
gotoxy(col,y2);
cprintf("%c",196);
Shivangi Mishra 59
NIELIT “A” LEVEL BANKING MANAGEMENT
SYSTEM
for(int row=y1;row<y2;row++)
gotoxy(x1,row);
cprintf("%c",179);
gotoxy(x2,row);
cprintf("%c",179);
gotoxy(x1,y1);
cprintf("%c",218);
gotoxy(x1,y2);
cprintf("%c",192);
gotoxy(x2,y1);
cprintf("%c",191);
gotoxy(x2,y2);
cprintf("%c",217);
Shivangi Mishra 60
NIELIT “A” LEVEL BANKING MANAGEMENT
SYSTEM
char main_menu::menu()
clrscr();
textcolor(22);
textcolor(5+143);
gotoxy(36, 5);
textbackground(BLUE);
cprintf("B A N K I N G");
textbackground(BLACK);
textcolor(22);
i = done = 0;
Shivangi Mishra 61
NIELIT “A” LEVEL BANKING MANAGEMENT
SYSTEM
_setcursortype(_NOCURSOR);
do
switch (key)
case 00:
key = getch();
switch (key)
case 72:
i--;
if (i == -1)
i = 6;
reversevideo(32,i+10,a[i]);
break;
Shivangi Mishra 62
NIELIT “A” LEVEL BANKING MANAGEMENT
SYSTEM
case 80:
i++;
if (i == 7)
i = 0;
break;
break;
case 13:
done = 1;
while (!done);
_setcursortype(_NOCURSOR);
return(i+49);
Shivangi Mishra 63
NIELIT “A” LEVEL BANKING MANAGEMENT
SYSTEM
void main_menu::control_menu()
char choice;
account a;
do
choice = menu();
clrscr();
switch (choice)
case '1':
_setcursortype(_NORMALCURSOR);
Shivangi Mishra 64
NIELIT “A” LEVEL BANKING MANAGEMENT
SYSTEM
break;
case '2':
initial ini;
break;
case '3':
_setcursortype(_NORMALCURSOR);
a.display_account();
break;
case '4':
Shivangi Mishra 65
NIELIT “A” LEVEL BANKING MANAGEMENT
SYSTEM
account a;
_setcursortype(_NORMALCURSOR);
break;
case '5':
_setcursortype(_NORMALCURSOR);
break;
case '6':
gotoxy(10,10);
Shivangi Mishra 66
NIELIT “A” LEVEL BANKING MANAGEMENT
SYSTEM
break;
// This function is used to return the cursor position to the edit menu
char main_menu::e_menu()
clrscr();
textcolor(22);
box(25,6,60,15);
box(23,4,62,17);
textcolor(5+143);
gotoxy(34,5);
textbackground(GREEN);
Shivangi Mishra 67
NIELIT “A” LEVEL BANKING MANAGEMENT
SYSTEM
cprintf("E D I T - M E N U");
textcolor(22);
textbackground(BLACK);
i = done = 0;
_setcursortype(_NOCURSOR);
do
switch (key)
case 00:
key = getch();
switch (key)
Shivangi Mishra 68
NIELIT “A” LEVEL BANKING MANAGEMENT
SYSTEM
case 72:
i--;
if (i == -1)
i = 2;
break;
case 80:
i++;
if (i == 3)
i=0;
break;
break;
case 13:
Shivangi Mishra 69
NIELIT “A” LEVEL BANKING MANAGEMENT
SYSTEM
done = 1;
}while (!done);
_setcursortype(_NOCURSOR);
return(i+49);
void main_menu::edit_menu()
char choice;
account a;
do
choice = e_menu();
clrscr();
switch (choice)
Shivangi Mishra 70
NIELIT “A” LEVEL BANKING MANAGEMENT
SYSTEM
case '1':
initial ini;
_setcursortype(_NORMALCURSOR);
ini.modify();
break;
case '2':
account a;
_setcursortype(_NORMALCURSOR);
a.close_account();
break;
case '3':
return;
Shivangi Mishra 71
NIELIT “A” LEVEL BANKING MANAGEMENT
SYSTEM
gotoxy(column1, row);
cout<< c;
Shivangi Mishra 72
NIELIT “A” LEVEL BANKING MANAGEMENT
SYSTEM
gotoxy(column, row1);
cout<< c;
void shape::box(int column1, int row1, int column2, int row2, char c)
char ch = 218;
if (c == ch)
c1 = 218;
c2 = 191;
Shivangi Mishra 73
NIELIT “A” LEVEL BANKING MANAGEMENT
SYSTEM
c3 = 217;
c4 = 217;
l1 = 196;
l2 = 179;
else
c1 = c;
c2 = c;
c3 = c;
c4 = c;
l1 = c;
c2 = c;
gotoxy(column1, row1);
cout<< c1;
gotoxy(column2, row1);
Shivangi Mishra 74
NIELIT “A” LEVEL BANKING MANAGEMENT
SYSTEM
cout<< c2;
gotoxy(column1, row2);
cout<< c3;
gotoxy(column2, row2);
cout<< c4;
column1++;
column2--;
column1--;
column2++;
row1++;
row2--;
Shivangi Mishra 75
NIELIT “A” LEVEL BANKING MANAGEMENT
SYSTEM
void main_menu::help(void)
clrscr();
setbkcolor(7);
settextstyle(7,HORIZ_DIR,4);
settextstyle(2,HORIZ_DIR,5);
delay(2);
delay(2);
delay(2);
Shivangi Mishra 76
NIELIT “A” LEVEL BANKING MANAGEMENT
SYSTEM
delay(2);
outtextxy(60,220,"-In third option you can see all trans. of ind. A/c");
delay(2);
delay(2);
outtextxy(60,280,"(Deposit/Withdraw)");
delay(2);
delay(2);
delay(2);
Shivangi Mishra 77
NIELIT “A” LEVEL BANKING MANAGEMENT
SYSTEM
delay(2);
delay(2);
settextstyle(7,HORIZ_DIR,4);
getch();
void initial::modify(void)
clrscr();
int j;
char t_acc[10];
int t, t_accno;
gotoxy(17, 1);
cout<< "<0>=Exit";
Shivangi Mishra 78
NIELIT “A” LEVEL BANKING MANAGEMENT
SYSTEM
gotoxy(5,5);
gets(t_acc);
t = atoi(t_acc);
t_accno = t;
if (t_accno == 0)
return;
clrscr();
if (!found_account(t_accno))
gotoxy(5, 5);
getch();
return;
gotoxy(71, 1);
cout<< "<0>=Exit";
Shivangi Mishra 79
NIELIT “A” LEVEL BANKING MANAGEMENT
SYSTEM
textbackground(WHITE);
gotoxy(3, 3);
for(j=1;j<=76; j++)
cprintf(" ");
textbackground(BLACK);
textcolor(BLACK+BLINK);
textbackground(WHITE);
gotoxy(30, 3);
textcolor(LIGHTGRAY);
textbackground(BLACK);
getdate(&d);
d1 = d.da_day;
m1 = d.da_mon;
y1 = d.da_year;
Shivangi Mishra 80
NIELIT “A” LEVEL BANKING MANAGEMENT
SYSTEM
gotoxy(4, 2);
cout<< "Date: " << d1 << "/" << m1 << "/" << y1;
char ch;
display(t_accno);
account a;
do
a.clear(5, 13);
gotoxy(5, 13);
ch = getche();
if (ch == '0')
return;
ch = toupper(ch);
if (ch == 'N')
return;
Shivangi Mishra 81
NIELIT “A” LEVEL BANKING MANAGEMENT
SYSTEM
gotoxy(5, 15);
cout<<"Name : ";
gotoxy(5, 16);
do
a.clear(15, 15);
a.clear(5, 23);
gotoxy(5, 23);
valid = 1;
gotoxy(15, 15);
gets(t_name);
strupr(t_name);
if (t_name[0] == '0')
Shivangi Mishra 82
NIELIT “A” LEVEL BANKING MANAGEMENT
SYSTEM
return;
valid = 0;
gotoxy(5, 23);
getch();
} while (!valid);
do
a.clear(15, 16);
a.clear(5, 23);
gotoxy(5, 23);
valid = 1;
gotoxy(15, 16);
Shivangi Mishra 83
NIELIT “A” LEVEL BANKING MANAGEMENT
SYSTEM
gets(t_address);
strupr(t_address);
if (t_address[0] == '0')
return;
valid = 0;
gotoxy(5, 23);
getch();
}while (!valid);
if (strlen(t_address) > 0)
modified = 1;
if (!modified)
return;
Shivangi Mishra 84
NIELIT “A” LEVEL BANKING MANAGEMENT
SYSTEM
a.clear(5,23);
do
a.clear(5, 23);
gotoxy(5, 18);
ch = getche();
if (ch == '0')
return;
ch = toupper(ch);
if (ch == 'N')
return;
gotoxy(5, 21);
cout<<"\7Record modified";
Shivangi Mishra 85
NIELIT “A” LEVEL BANKING MANAGEMENT
SYSTEM
gotoxy(5, 23);
getch();
fstream file;
file.open("INITIAL.dat", ios::in);
file.seekg(0, ios::beg);
if (t_accno == accno)
Shivangi Mishra 86
NIELIT “A” LEVEL BANKING MANAGEMENT
SYSTEM
gotoxy(8, 5);
gotoxy(10, 8);
puts(name);
gotoxy(10, 9);
puts(address);
gotoxy(10, 10);
break;
Shivangi Mishra 87
NIELIT “A” LEVEL BANKING MANAGEMENT
SYSTEM
file.close();
int recno;
recno = recordno(t_accno);
fstream file;
file.open("INITIAL.dat", ios::out|ios::ate);
strcpy(name, t_name);
strcpy(address, t_address);
int location;
file.seekp(location);
Shivangi Mishra 88
NIELIT “A” LEVEL BANKING MANAGEMENT
SYSTEM
file.close();
return;
int initial::last_accno(void)
fstream file;
file.open("INITIAL.dat", ios::in);
file.seekg(0, ios::beg);
int count = 0;
count = accno;
file.close();
Shivangi Mishra 89
NIELIT “A” LEVEL BANKING MANAGEMENT
SYSTEM
return count;
accno = t_accno;
strcpy(name, t_name);
strcpy(address, t_address);
balance = t_balance;
fstream file;
file.open("INITIAL.dat", ios::out|ios::app);
file.close();
Shivangi Mishra 90
NIELIT “A” LEVEL BANKING MANAGEMENT
SYSTEM
fstream file;
file.open("INITIAL.dat", ios::in);
fstream temp;
temp.open("TEMP.dat", ios::out);
file.seekg(0,ios::beg);
while (!file.eof())
if (file.eof())
break;
Shivangi Mishra 91
NIELIT “A” LEVEL BANKING MANAGEMENT
SYSTEM
if (accno != t_accno)
file.close();
temp.close();
file.open("INITIAL.dat", ios::out);
temp.open("TEMP.dat", ios::in);
temp.seekg(0, ios::beg);
while (!temp.eof())
if (temp.eof())
break;
if (accno != t_accno)
Shivangi Mishra 92
NIELIT “A” LEVEL BANKING MANAGEMENT
SYSTEM
file.close();
temp.close();
fstream file;
file.open("BANKING.dat", ios::app);
accno = t_accno;
getch();
dd = d1;
mm = m1;
yy = y1;
Shivangi Mishra 93
NIELIT “A” LEVEL BANKING MANAGEMENT
SYSTEM
tran = t_tran;
strcpy(type, t_type);
interest = t_interest;
amount = t_amount;
balance = t_balance;
file.close();
fstream file;
fstream temp;
Shivangi Mishra 94
NIELIT “A” LEVEL BANKING MANAGEMENT
SYSTEM
// Uses the copy method for deleting the transaction record from
while (!file.eof())
if (file.eof())
break;
if (accno != t_accno)
file.close();
temp.close();
file.open("BANKING.dat", ios::out);
temp.open("TEMP.dat", ios::in);
temp.seekg(0, ios::beg);
Shivangi Mishra 95
NIELIT “A” LEVEL BANKING MANAGEMENT
SYSTEM
while (!temp.eof())
if (temp.eof())
break;
if (accno != t_accno)
file.close();
temp.close();
void initial::display_list(void)
clrscr();
Shivangi Mishra 96
NIELIT “A” LEVEL BANKING MANAGEMENT
SYSTEM
int flag;
fstream file;
gotoxy(25,2);
gotoxy(25, 3);
cout<< "=====================";
getdate(&d);
d1 = d.da_day;
m1 = d.da_mon;
y1 = d.da_year;
gotoxy(62, 3);
cout<< "Date: " << d1 << "/" << m1 << "/" << y1;
gotoxy(1, 4);
Shivangi Mishra 97
NIELIT “A” LEVEL BANKING MANAGEMENT
SYSTEM
cout<< "=";
gotoxy(1, 5);
cout<< "Accno#";
gotoxy(10,5);
cout<< "Name";
gotoxy(30,5);
cout<< "Address";
gotoxy(65,5);
cout<< "Balance";
gotoxy(1, 6);
cout<< "=";
file.open("INITIAL.dat", ios::in);
file.seekg(0,ios::beg);
int row = 7;
Shivangi Mishra 98
NIELIT “A” LEVEL BANKING MANAGEMENT
SYSTEM
flag = 0;
delay(2);
gotoxy(3, row);
cout<< accno;
gotoxy(10, row);
puts(name);
gotoxy(30, row);
puts(address);
gotoxy(65, row);
cout<<setw(15)<<setprecision(2)<<setiosflags(ios::left)
<<setiosflags(ios::showpoint)<<setiosflags(ios::fixed)<<balance;
row++;
flag = 1;
Shivangi Mishra 99
NIELIT “A” LEVEL BANKING MANAGEMENT
SYSTEM
row = 6;
gotoxy(4, 24);
getch();
clrscr();
gotoxy(1, row);
cout<< "=";
row++;
gotoxy(3, row);
gotoxy(65, row);
cout<<setw(15)<<setprecision(2)<<setiosflags(ios::left)
<<setiosflags(ios::showpoint)<<setiosflags(ios::fixed)<<t_bal;
file.close();
if (!flag)
gotoxy(4, 24);
getch();
gotoxy(j, row);
fstream file;
file.open("INITIAL.dat", ios::in);
file.seekg(0, ios::beg);
int found = 0;
if (accno == t_accno)
found = 1;
break;
file.close();
return found;
fstream file;
file.open("INITIAL.dat", ios::in);
file.seekg(0, ios::beg);
char t_name[30];
if (accno == t_accno)
strcpy(t_name, name);
break;
file.close();
return t_name;
fstream file;
file.open("INITIAL.dat", ios::in);
file.seekg(0, ios::beg);
char t_address[30];
if (accno == t_accno)
strcpy(t_address, address);
break;
file.close();
return t_address;
struct date d;
getdate(&d);
d1 = d.da_day;
m1 = d.da_mon;
y1 = d.da_year;
gotoxy(63, 2);
cout<< "Date: " << d1 << "/" << m1 << "/" << y1;
gotoxy(4, 2);
initial ini;
char t_name[30];
strcpy(t_name, ini.return_name(t_accno));
char t_address[30];
strcpy(t_address, ini.return_address(t_accno));
gotoxy(25, 2);
cout<< t_name;
gotoxy(25, 3);
cout<< t_address;
gotoxy(4, 5);
textbackground(WHITE);
textcolor(BLACK);
textbackground(WHITE);
gotoxy(1, 6);
cout<< "=";
gotoxy(4, 7);
gotoxy(1, 8);
cout<< "=";
textcolor(LIGHTGRAY);
textbackground(BLACK);
void account::display_account(void)
clrscr();
char t_acc[10];
int j;
int t, t_accno;
gotoxy(71, 1);
cout<< "<0>=Exit";
gotoxy(5, 5);
gets(t_acc);
t = atoi(t_acc);
t_accno = t;
if (t_accno == 0)
return;
clrscr();
initial ini;
if (!ini.found_account(t_accno))
gotoxy(5, 5);
getch();
return;
box_for_display(t_accno);
fstream file;
file.open("BANKING.dat", ios::in);
if (accno == t_accno)
flag = 0;
delay(2);
gotoxy(4, row);
gotoxy(16, row);
puts(type);
if (tran == 'D')
gotoxy(30, row);
else
gotoxy(42, row);
gotoxy(66, row);
<< setiosflags(ios::showpoint)<<
setiosflags(ios::fixed)<<balance;
row++;
flag = 1;
row = 7;
gotoxy(4, 24);
getch();
clrscr();
box_for_display(t_accno);
file.close();
gotoxy(1, row);
cout<< "=";
row++;
gotoxy(4, row);
cout<< "Total-->:";
gotoxy(30, row);
gotoxy(42, row);
gotoxy(66, row);
if (!flag)
gotoxy(4, 24);
getch();
void account::month_report(void)
clrscr();
gotoxy(10, 5);
gotoxy(38, 5);
gotoxy(40, 5);
cout<<"-";
gotoxy(41, 5);
gotoxy(43, 5);
cout<<"-";
gotoxy(44, 5);
clrscr();
char t_acc[10];
int j;
int t, t_accno;
gotoxy(71, 1);
cout<<"<0>=Exit";
gotoxy(5, 5);
gets(t_acc);
t = atoi(t_acc);
t_accno = t;
if (t_accno == 0)
return;
clrscr();
initial ini;
if (!ini.found_account(t_accno))
gotoxy(5, 5);
getch();
return;
box_for_display(t_accno);
gotoxy(4, 5);
cout<< "Statement Month: " << dd1 << "/" << mm1 << "/" << yy1;
getch();
fstream file;
file.open("BANKING.dat", ios::in);
//Checks the account no. and till the previous month and till current
year
if((accno == t_accno) && ((mm < mm1 && yy <= yy1) || (mm1 <
mm && yy < yy1)))
pre_balance = balance;
file.close();
file.open("BANKING.dat", ios::in);
gotoxy(54, row);
<<setiosflags(ios::showpoint)<<setiosflags(ios::fixed)<<pre_balance;
row++;
flag = 0;
delay(2);
gotoxy(4, row);
gotoxy(16, row);
puts(type);
if (tran == 'D')
gotoxy(30, row);
else
gotoxy(42, row);
cout<<setw(15)<<setprecision(2)<<setiosflags(ios::left)
<<setiosflags(ios::showpoint)<<setiosflags(ios::fixed)<<amount;
gotoxy(66, row);
cout<<setw(15)<<setprecision(2)<<setiosflags(ios::left)
<<setiosflags(ios::showpoint)<<setiosflags(ios::fixed)<<balance;
row++;
flag = 1;
row = 7;
gotoxy(4, 24);
getch();
clrscr();
box_for_display(t_accno);
file.close();
gotoxy(1, row);
cout<< "=";
row++;
gotoxy(4, row);
cout<< "Total-->:";
gotoxy(30, row);
// Deposited amount
<< damt;
gotoxy(42, row);
// Withdraw amount
gotoxy(66, row);
// Balance amount
if (!flag)
gotoxy(4, 24);
getch();
void account::new_account(void)
char ch;
int i, valid;
clrscr();
initial ini;
shape s;
gotoxy(65, 2);
cout<< "<0>=Exit";
gotoxy(3,3);
cprintf(" ");
textbackground(BLACK);
textcolor(BLACK+BLINK);
textbackground(WHITE);
gotoxy(30, 3);
textcolor(LIGHTGRAY);
textbackground(BLACK);
getdate(&d);
d1 = d.da_day;
m1 = d.da_mon;
y1 = d.da_year;
int t_accno;
t_accno = ini.last_accno();
t_accno++;
if (t_accno == 1)
ini.delete_account(t_accno);
getch();
delete_account(t_accno);
gotoxy(5, 6);
cout<< "Date: " << d1 << '/' << m1 << '/' << y1;
gotoxy(5, 8);
gotoxy(5, 10);
gotoxy(5, 11);
gotoxy(5, 12);
gotoxy(5, 14);
do
clear(15, 10);
clear(5, 23);
gotoxy(5, 23);
valid = 1;
gotoxy(15, 10);
gets(t_name);
strupr(t_name);
if (t_name[0] == '0')
return;
valid = 0;
gotoxy(5, 23);
getch();
}while (!valid);
do
clear(25, 15);
clear(5, 23);
gotoxy(5, 23);
valid = 1;
gotoxy(15, 11);
gets(t_address);
strupr(t_address);
if (t_address[0] == '0')
return;
valid = 0;
gotoxy(5, 23);
getch();
}while (!valid);
do
char vari[30];
clear(13, 12);
clear(5, 23);
gotoxy(5, 23);
valid = 1;
gotoxy(31, 12);
gets(vari);
strupr(vari);
if (vari[0] == '0')
return;
valid = 0;
gotoxy(5, 23);
getch();
}while (!valid);
do
clear(13, 12);
clear(5, 23);
gotoxy(5, 23);
valid = 1;
gotoxy(23, 14);
gets(t);
t_bal = atof(t);
t_balance = t_bal;
if (t[0] == '0')
valid = 0;
gotoxy(5, 23);
getch();
}while (!valid);
clear(5, 23);
do
clear(5, 17);
valid = 1;
gotoxy(5, 17);
ch = getche();
if (ch == '0')
return;
ch = toupper(ch);
if (ch == 'N')
return;
t_amount = t_balance;
t_interest = 0.0;
t_tran = 'D';
strcpy(t_type, "INITIAL");
fstream file;
file.open("INITIAL.dat", ios::in);
file.seekg(0, ios::beg);
float t_balance;
if (accno == t_accno)
t_balance = balance;
break;
file.close();
return t_balance;
fstream file;
file.open("INITIAL.dat", ios::in);
file.seekg(0, ios::beg);
int count = 0;
count++;
if (t_accno == accno)
break;
file.close();
return count;
/* Function for updating the balance for the given account no. */
int recno;
recno = recordno(t_accno);
fstream file;
file.open("INITIAL.dat", ios::out|ios::ate);
strcpy(name, t_name);
strcpy(address, t_address);
balance = t_balance;
int location;
file.close();
int account::no_of_days(int d1, int m1, int y1, int d2, int m2, int y2)
static int month[] = {31, 28, 31, 30, 31, 30, 31, 30, 31, 30, 31, 30};
int days = 0;
days++;
d1++;
d1 = 1;
m1++;
m1 = 1;
y1++;
return days;
fstream file;
file.open("BANKING.dat", ios::in);
file.seekg(0, ios::beg);
if (accno == t_accno)
d1 = dd;
m1 = mm;
y1 = yy;
break;
struct date d;
getdate(&d);
d2 = d.da_day;
m2 = d.da_mon;
y2 = d.da_year;
if((y2 < y1) || (y2==y1 && m2 < m1) || (y2==y1 && m2 == m1) &&
(d2 < d1))
return t_interest;
int months = 0;
file.close();
return t_interest;
void account::transaction(void)
clrscr();
char t_acc[10];
gotoxy(71,1);
cout<<"<0>=Exit";
gotoxy(5, 5);
gets(t_acc);
t = atoi(t_acc);
t_accno = t;
if (t_accno == 0)
return;
clrscr();
initial ini;
if (!ini.found_account(t_accno))
gotoxy(5, 5);
getch();
return;
gotoxy(71, 1);
cout<< "<0>=Exit";
gotoxy(3, 3);
cprintf(" ");
textbackground(BLACK);
textcolor(BLACK+BLINK);
textbackground(WHITE);
gotoxy(29, 3);
textcolor(LIGHTGRAY);
textbackground(BLACK);
struct date d;
getdate(&d);
d1 = d.da_day;
m1 = d.da_mon;
y1 = d.da_year;
gotoxy(5, 6);
cout<< "Date: " << d1 << "/" << m1 << "/" << y1;
gotoxy(5, 8);
char t_name[30];
char t_address[30];
float t_balance;
strcpy(t_name, ini.return_name(t_accno));
strcpy(t_address, ini.return_address(t_accno));
t_balance = ini.give_balance(t_accno);
gotoxy(27, 11);
gotoxy(27, 12);
gotoxy(5, 15);
<<setiosflags(ios::left)<<setiosflags(ios::showpoint)
<<setiosflags(ios::fixed)<<t_balance;
do
clear(5, 10);
valid = 1;
gotoxy(5, 10);
t_tran = getch();
if (t_tran == '0')
return;
t_tran = toupper(t_tran);
do
clear(5, 19);
clear(5, 23);
gotoxy(5, 23);
valid = 1;
gotoxy(5, 19);
gets(t_type);
strupr(t_type);
if (t_type[0] == '0')
return;
valid = 0;
gotoxy(5, 23);
cprintf("\7Enter correctly");
getch();
}while (!valid);
do
clear(5, 21);
clear(5, 23);
gotoxy(5, 23);
valid = 1;
gotoxy(5, 21);
gets(tm);
t_amt = atof(tm);
t_amount = t_amt;
if (tm[0] == '0')
return;
valid = 0;
gotoxy(5, 23);
getch();
}while (!valid);
char ch;
clear(5, 23);
do
clear(20, 23);
valid = 1;
gotoxy(40, 20);
ch = getche();
if (ch == '0')
return;
ch = toupper(ch);
if (ch == 'N')
return;
float t_interest;
if (t_tran == 'D')
else
add_to_file(t_accno,d1,m1,y1,t_tran,t_type,t_interest,t_amount,t_bala
nce);
void account::close_account(void)
clrscr();
char t_acc[10];
int t, t_accno;
gotoxy(71, 1);
cout<<"<0>=Exit";
gotoxy(5, 5);
gets(t_acc);
t = atoi(t_acc);
t_accno = t;
if (t_accno == 0)
return;
clrscr();
initial ini;
if (!ini.found_account(t_accno))
gotoxy(5, 5);
getch();
return;
gotoxy(71, 1);
cout<< "<0>=Exit";
gotoxy(3, 3);
textbackground(WHITE);
cprintf(" ");
textbackground(BLACK);
textcolor(BLACK+BLINK);
textbackground(WHITE);
gotoxy(30, 3);
textcolor(LIGHTGRAY);
textbackground(BLACK);
struct date d;
getdate(&d);
d1 = d.da_day;
m1 = d.da_mon;
y1 = d.da_year;
gotoxy(5, 6);
cout<< "Date: " << d1 << "/" << m1 << "/" << y1;
char ch;
ini. display(t_accno);
do
clear(5, 15);
gotoxy(5, 15);
ch = getche();
if (ch == '0')
return;
ch = toupper(ch);
if (ch == 'N')
return;
ini.delete_account(t_accno);
delete_account(t_accno);
gotoxy(5, 20);
cout<<"\7Account Deleted";
gotoxy(5, 23);
getch();
// Main program logic which control the class members and member
functions.
void main(void)
main_menu m_menu;
initgraph(&gdriver, &gmode,"c:\\turboc3\\bgi");
m_menu.help();
closegraph();
m_menu.control_menu
CHAPTER 14
INPUT AND OUTPUT SCREENS
Snapshot:-6.Transaction in account .
CHAPTER 15
TESTING AND MAINTENANCE METHODLOGY
meets the business and technical requirements that guided its design and
development;
coding process has been completed. As such, the methodology of the test
is governed by the software development methodology adopted.
("on the fly"), with results displayed immediately after each calculation
or text manipulation.
Although there are close links with SQA, testing departments often exist
independently, and there may be no SQA function in some companies.
The key software maintenance issues are both managerial and technical.
Key management issues are: alignment with customer priorities, staffing,
which organization does maintenance, estimating costs. Key technical
issues are: limited understanding, impact analysis, testing, and
maintainability measurement. Best and Worst Practices in Software
Maintenance Because maintenance of aging legacy software is very labor
intensive it is quite important to explore the best and most cost effective
methods available for dealing with the millions of applications that
currently exist. Maintenance experts, while the factor that has the
greatest negative impact is the presence error-prone modules in
application being maintained.
BIBLIOGRAPHY:
The books referred during the development of this project are as follows: