Sei sulla pagina 1di 11

THE PROJECT

PROGRAM IN BANKING SYSTEM




Submitted to:
Ms Daman Madam

Submitted by:
Dheeraj Baweja
B.Tech (IT)
P.C 151
Sec. 242
Roll No. A04
Table of contents

Introduction
System requirements
Source code
Testing output
Future scope






Introduction:

This program is based on the system which is used in
most of the banks. With the help of the banking system
program the banks , the work and function of the banks
become easy. By using, it they can easily find the money
which is withdrawled or deposited.They can also find the
balance of the accont of the customer. They do a simple
task:
first of all the account number is entered,
the detail of the contents of the account is expressed
then the money which has to be withdrawled or
deposited is
entered through the keyboard thus the all the functions
that the bank performs with the account is attached with
the accoutn and the editing with the account is
automatically saved for the future use.


System Requirements:
1 Hardware:
A. Hard disk 80 GB
B. Ram 1GB
C. Cache memory 667mb

2 Software:
C language





Source code
#include<stdio.h>
#include<conio.h>

int accbalance;


void main()


{


int empid;
printf("Welcome to the banking system\n");


printf("Enter employee Id\n");

scanf("%d",&empid);

if((empid==100) || (empid==200) || (empid==300))
printf("Welcome %d to the banking system",empid);
else
printf("the ID you enetered not correct\n");




struct customer

{

int cno;
char name[10];
char city [6];
int tel [10];
int ano;
int balance;
}cust;

struct operation
{
int withdraw;
int deposit;
}opr[2];

int i, int x;




for(i=0;i<3;i++)


{


printf("\nEnter customer details\n");

printf("\nEnter customer ID\n");

scanf("%d",&cust.cno);


getchar();

printf("Enter customer name\n");
gets(cust.name);

printf("\n\nEnter city\n");

gets(cust.city);

printf("\n\nEnter customer Telephone No.\n");

scanf("%d", &cust.tel);



printf("\n\nEnter account details\n");

printf("\n\nEnter account ID\n");

scanf("%d",&cust.ano);


printf("\n\n Enter balance\n");

scanf("%d", &cust.balance);
}


printf("\n\n Enter customer ID\n");

scanf("%d",&cust.cno);



int choice;

for(x=0;x<2;x++)
printf("\n these are your choices\n");


printf("%d%d",x+1, opr[x].withdraw );

printf("%d%d",x+1, opr[x].deposit);





printf("\n\n Enter your choice\n");

scanf("%d", &choice);


float with, dep;


switch (choice)

{

case 1:

printf("\n\n withdraw\n");

printf("\n\n how much u want to withdrwa\n");

scanf("%f", &with);

cust.balance=cust.balance-with;

accbalance-=with;

printf("%d", cust.balance);

break;

case 2:

printf("\n\n deposit\n");

printf("how much you wana deposit\n\n");

scanf("%f", &dep);

cust.balance=cust.balance+dep;

accbalance+=dep;

printf("%d", cust.balance);

break;

default:

printf("\n\n not correct\n");

break;

}
getch();
}

Future Scope

The banking system program is nowadays is very useful
in for the banks requirements. It helps the bank in its
daily common functions.
It makes the most tuff tasks of the
bank, easy. It is such a simple way to get the record of
the account for the future use so it is prefered.It is
expected that It will be used very commonly in future.

Here are the reasons that makes it to be used it in future.
1 It is easy to use.
2 It takes less time to perform its task.
3 Its results are very reliable.

Potrebbero piacerti anche