You are on page 1of 24

A

Micro Project Report


On
Mini banking system for handling deposits and
withdrawals
Under Course : -Java programming (22412)

Semester : - IV

Maharashtra State Board of Technical Education, Mumbai

Department of Information Technology Engineering


Matoshri Aasarabai Polytechnic, Eklahare, Nashik
Academic Year: 2022-23
Maharashtra State Board of Technical Education, Mumbai
Matoshri Aasarabai Polytechnic, Eklahare, Nashik

CERTIFICATE

This is to certify that following students of Forth Semester, Diploma Engineering


Program in Information technology have successfully completed the Micro-Project"
Mini banking system for handling deposits and withdrawals.” under my
supervision, in the partial fulfillment of Course Java programming (22412) for
Academic Year 2022-23 as per prescribed in the MSBTE “ I-Scheme” curriculum.
Exam Seat
Roll No Enrollment No. Name of Students
Number

46 2111700235 455347 Darshana kishor suryavanshi


9 2111700190 455308 Saraswati uttam bunge
10 2111700191 455309 Sakshi Ashok chavhan

Date:-____________________ Place:- Nashik.

Subject Teacher Head of Department Principal


(Prof.P.U.Mandlik) (Prof .V.K.Jadhav ) (Dr.S.J.Bagul)
MATOSHRI AASARABAI POLYTECHNIC, EKLAHARE, NASHIK
Department of Information Technology Engineering

Academic Year-2022-23

Index of Micro Project Report

Title of Micro Project :- Mini banking system for handling deposits and
withdrawals Semester:-IV th

Course:-Java programming Course Code:-22412

Sr.
Details Page No.
No.

1 Rubric

2 Abstraction

Introduction
3

4 Conclusion

5 References

Signature of Student Signature of Faculty


MATOSHRI AASARABAI POLYTECHNIC, EKLAHARE, NASHIK
ANNEXURE I
Rubric for Evaluation of Micro Project of Java programming (22412)
Title of Micro Project:- Mini banking system for handling deposits and withdrawals
Group Members:-

Sr.No. Roll Enrollment Seat No. Name of Candidates


No. No
1 46 2111700235 455347 Darshana kishor suryavanshi
2 9 2111700190 455308 Saraswati uttam bunge
3 10 2111700191 455309 Sakshi Ashok chavhan

Marks Indicators for different level of Performance (Evaluation Scale 1 to 6)


Obtained
Sr Criteria
(Out of Poor (1-2) Average(3-4) Good(5-6)
No
6)
Relevance to Related to very few
1 Related to at least one CO Adressed at lease one CO
the course LOs
Content of Not relevant and Relevant and sufficient for Relevant , sufficient for
2
project sufficient topic topic and well organized
Language of Grammatically Grammatically appropriate Grammatically appropriate
3
Project inappropriate but ineffective and effective
Completed and Completed within due date Completed and submitted
Completion
4 submitted after due but took slightly more time the complete project within
of project
date. to submit complete project. specified due date.
Prepared an improper Prepared appropriate
Report Prepared the report with
5 report with format of the report with
Preparation satisfactory content
unsatisfactory content sufficient content details
Not included key Presented with the help of
Included key points but
points, missed details power point, Highlighted
6 Presentation lacks considerable
and considerable key points, accurate and
information
information considerable information
Not referred more Referred at –least 5
Resources/ Referred at-least 3 relevant
7 than two sources, relevant sources, 3 most
References sources, at least 2 latest
very old reference latest
Total:
Average
(Out of 6)

(Prof.P.U.Mandlik)
Name and Signature of Guide
MATOSHRI AASARABAI POLYTECHNIC, EKLAHARE, NASHIK
Department of Information Technology Engineering

Log Book for Micro- Project

Semester:-IV th Programme / Code:-IF4I


Course / Code :- Java programming Class:- 2rd Year
Topic of the Micro- Project:- Mini banking system for handling deposits and withdrawals

Sr. Name of Group Sign. Sr. Name of Group Sign.


No. Members. No. Members
Darshana kishor
1 3 Sakshi Ashok chavhan
suryavanshi
Saraswati uttam bunge
2 4

Memb
Week ers Teacher’s
Discussion & Details Teacher’s Comment
No. Presen Sign.
t
Discussion on the concept of Micro project
1
with teacher
Finalization of Group and Project topic with
2
Project Proposal submission
Preliminary discussion with guide about
3
content of Micro project
Related Information Gathered by team about
4
project
5 Organizing the information for project work
Discussing project related queries with
6
teacher if any
7 Preparation of Micro project model or content
8 Finalizing the project work by teacher
9 Report writing
10 Presentation , Oral
11 Submission of project and Project report

Sign Of Faculty
ANNEXURE II
Evaluation Sheet for the Micro Project

Academic Year:-2022-23 Name of Faculty:-


Course :- Java programming Course Code :- (22412) Semester:- IVth

Title of the Project :- Mini banking system for handling deposits and withdrawals

COs addressed by the Micro Project : -

a) Develop Public Awareness about Environment


b )Select Alternative Energy Resources for Engineering Practice

c) Conserve Ecosystem & Biodiversity

d) Apply Techniques to Reduce Environmental Pollution

e) Manage Social Issues & Environmental Ethics as lifelong learning.

Major Learning Outcomes achieved by students by doing the Projects:-

a) Practical Outcomes ……………………………………………………………………………


…………………………………………………………………………………………………..
b) Unit Outcomes in Cognitive domain
……………………….……………………………………………………………………………
………….....................................................................................................................................
c) Outcomes in Affective Domain
……………………………………………………………………………………………………
…………………………………………………………………………………………………….

Comment /Suggestion about team work /Leadership/ Inter-personal communication (If any)
…………………………………………………………………………………………………………
Marks out of 4 for
Marks out of 6
Roll performance in oral Total out
Student Name for performance
No. / presentation of 10
in group activity
activity
Darshana kishor
1 suryavanshi

Saraswati uttam bunge


2
Sakshi Ashok chavhan
3

Faculty sign
ACKNOWLEDGEMENT

With deep sense of gratitude we would like to thanks all the people who have lit
our path with their kind guidance. We are very grateful to these intellectuals who
did their best to help during our project work.

It is our proud privilege to express deep sense of gratitude to, Dr. S. J.


BagulPrincipal of Matoshri Aasarabai Polytechnic, Eklahare, Nashik, for his
comments and kind permission to complete this Micro Project.

We remain indebted to Prof. V. K. Jadhav , Head Department of Information


Technology, Engineering, for his suggestion and valuable guidance.

The special gratitude goes to our internal guide Prof.P.U.Mandlik, technical staff
members, and non-technical staff members, Humanities & Science Department
for their expensive, excellent and precious guidance in completion of this work.

Name of Students:

1.Darshana kishor suryavanshi

2.Saraswati uttam bunge

3.Sakshi Ashok chavhan


Abstraction

The running conventional banking system can’t be considered as an effective banking


service. It consumes a lot of time of customers as well as bank staffs, ever for a small
work. Moreover, it is not secured and fully reliable.

In order to overcome these drawbacks of conventional banking system, it is to be


replaced with e-system. Bank Management System Project as an online software
provides easy, accurate and fast access to banking system.

Features:

Before the use of this online banking system, the user should complete Registration. A
user holding the bank account is supposed to generate a unique user name and secured
password for logging in to the software.

The following facilities provided by the Online Bank Management software enhance
running banking system and make it more easy, accessible and effective.

The bank customers can view their account details such as account id, type of account,
available balance in the account, interest rate etc. from anywhere using internet service.
The software is made to display deposited cash and date of deposition.
Online Bank Management System is designed to give details information on cash
withdrawal. Customers can see the name & location of ATM with the time of cash
withdrawal & amount withdrawn.
Online money transfer is one of the most desired facilities of bank customers. So, this
online software provides online money transaction facility with details.
Moreover, this project is capable of displaying history of transaction with information
such as transaction time, amount and type.
Introduction

Bank Account Program in Java:


At first, we created 6 java files to develop this Java Banking Account Project.
Such as:

1. bankingapp.java
2. login.java
3. menu.java
4. banking_account.java
5. deposit.java
6. invalid_transaction.java

 Source code for bankingapp.java:

/* bankingapp.java */
public class bankingapp {
public static void main(String[] args) throws Exception {
System.out.println("Welcome to ABC Bank !");
banking_account b = new banking_account();
b.initiate();
}
}

 Source code for login.java:

/* login.java */
import java.io.*;
import java.util.Scanner;
class login{
int ac_number = 1249498014;
int ac_pass = 41089494;
int ac, pw;
public void acceptInput(){
Scanner scanner = new Scanner(System.in);
System.out.print("Enter ABC Bank Account Number: ");
ac = scanner.nextInt();
System.out.print("Enter Password: ");
pw = scanner.nextInt();
}
public void verify() throws Exception{

if(ac == ac_number && pw == ac_pass)


{
System.out.println("Your ABC Bank Account Login Successfully !");
banking_account b = new banking_account();
System.out.println(" ");
System.out.println("Your Account Balance is: "+b.getBalance()+" Rupees");
System.out.println(" ");
menu m1 = new menu();
m1.showMenu();
}else{
invalid_transaction loginfailed = new invalid_transaction("Incorrect Login
Credentials !");
System.out.println(loginfailed.getMessage());
throw loginfailed;
}
}
}

 Source code for menu.java:

/* menu.java */
import java.util.Scanner;
class menu{
int selectedOption;
banking_account b = new banking_account();
public void showMenu()
{
System.out.println("Please Select an option below:");
System.out.println("Press 1 to Deposit Amount.");
System.out.println("Press 2 to Withdraw Amount.");
System.out.println("Press 3 to View Balance");
System.out.println("Press any key to Exit");
System.out.println(" ");
Scanner scanner = new Scanner(System.in);
System.out.print("Press any key: ");
selectedOption = scanner.nextInt();
switch (selectedOption) {
case 1:
deposit d = new deposit();
int depamt = d.userInput();
b.add(depamt);
showMenu();
break;
case 2:
System.out.print("Please Enter the amount to withdraw: ");
int withamt=scanner.nextInt();
b.withdraw(withamt);
showMenu();
break;
case 3:
System.out.println("Your Account Balance is "+b.getBalance()+" Rupees");
System.out.println(" ");
showMenu();
break;

default:
System.out.println("Transaction Ended, Your ABC Bank Account Logout
Successfully !");
System.exit(0);
break;
}

}
}

 Source code for banking_account.java:

/* banking_account.java */
import java.util.Scanner;
class banking_account{
int amount = 5000;
public void initiate()
{
login l1 = new login();
try{
l1.acceptInput();
l1.verify();
}catch(Exception e)
{
try{
l1.acceptInput(
l1.verify();

}catch(Exception f)
{

}
}
}
public int getBalance(){
return amount;
}
public void add(int amt){
amount = amount + amt;
System.out.println("Amount deposited Successfully");
System.out.println(" ");
System.out.println("Total Balance: " +amount);
System.out.println(" ");
}
public void withdraw(int amt){
System.out.println(" ");
if(amount < amt)
{
invalid_transaction invalidWithDraw = new invalid_transaction("InValid
Withdrawal Amount");
System.out.println(invalidWithDraw.getMessage());
}else{
amount = (amount - amt);
System.out.println("Please Collect your " + amt +" Rupees");
System.out.println(" ");
System.out.println("Available Balance: " +amount);
System.out.println(" ");
}
}
}
 Source code for deposit.java:

/* deposit.java */
import java.util.Scanner;
class deposit{
int amt= 0;

public int userInput()


{
Scanner scanner = new Scanner(System.in);
System.out.print("Enter the amount to be deposited: ");
amt = scanner.nextInt();
if(amt<=0)
{
invalid_transaction depositnegativeError = new
invalid_transaction("Invalid Deposit Amount");
System.out.println(depositnegativeError.getMessage());
userInput();

}else{
return amt;
}
return amt;

}
}

 Source code for invalid_transaction.java:


/* invalid_transaction.java */
class invalid_transaction extends Exception
{
String errorMessage;
public invalid_transaction(String message)
{
errorMessage = message;
}
public String getMessage()
{
return errorMessage;
}
}

Some important methods:


[dropshadowbox align=”none” effect=”raised” width=”auto” height=””
background_color=”#ffffff” border_width=”1″ border_color=”#dddddd”
]getBalance(): It simply returns available bank account balance.

add(amt): It is used to deposit the amount or update the balance(amount).

withdrw(amt): It removes the amount from balance amount from bank account.

acceptInput(): It is used to ask n take input from user.

verify(): This method is used to check if the login was successful or not successful. If
the log is successful then use the banking class to fetch balance and then show a menu-
driven option to the user to select the menu.If the login isn’t successful then show a
proper message to a user by using the invalid_transaction Customized Exception
class.invalid_transaction: This exception class is used to handle all the user errors.
[/dropshadowbox]

Note: To log in, you have to enter the account number = 1249498014 and password =
41089494
Output-1:
Login Account:
Java Program for Bank Account Deposit Withdraw

Output-2:
Deposit:
Java Program for Bank Account Deposit Withdraw
Output-3:
Withdraw:
Java Program for Bank Account Deposit Withdraw

Output-4:
View Balance & Logout Account:
Java Program for Bank Account Deposit Withdraw
import java.util.Scanner;

class Bank {
private String accno;
private String name;
private long balance;

Scanner KB = new Scanner(System.in);

//method to open an account


void openAccount() {
System.out.print("Enter Account No: ");
accno = KB.next();
System.out.print("Enter Name: ");
name = KB.next();
System.out.print("Enter Balance: ");
balance = KB.nextLong();
}

//method to display account details


void showAccount() {
System.out.println(accno + "," + name + "," + balance);
}

//method to deposit money


void deposit() {
long amt;
System.out.println("Enter Amount U Want to Deposit : ");
amt = KB.nextLong();
balance = balance + amt;
}

//method to withdraw money


void withdrawal() {
long amt;
System.out.println("Enter Amount U Want to withdraw : ");
amt = KB.nextLong();
if (balance >= amt) {
balance = balance - amt;
} else {
System.out.println("Less Balance..Transaction Failed..");
}
}

//method to search an account number


boolean search(String acn) {
if (accno.equals(acn)) {
showAccount();
return (true);
}
return (false);
}
}

public class ExBank {


public static void main(String arg[]) {
Scanner KB = new Scanner(System.in);

//create initial accounts


System.out.print("How Many Customer U Want to Input : ");
int n = KB.nextInt();
Bank C[] = new Bank[n];
for (int i = 0; i < C.length; i++) {
C[i] = new Bank();
C[i].openAccount();
}

//run loop until menu 5 is not pressed


int ch;
do {
System.out.println("Main Menu\n1. Display All\n 2. Search By Account\n 3.
Deposit\n 4. Withdrawal\n 5.E xit ");
System.out.println("Ur Choice :"); ch = KB.nextInt();
switch (ch) {
case 1:
for (int i = 0; i < C.length; i++) {
C[i].showAccount();
}
break;

case 2:
System.out.print("Enter Account No U Want to Search...: ");
String acn = KB.next();
boolean found = false;
for (int i = 0; i < C.length; i++) {
found = C[i].search(acn);
if (found) {
break;
}
}
if (!found) {
System.out.println("Search Failed..Account Not Exist..");
}
break;

case 3:
System.out.print("Enter Account No : ");
acn = KB.next();
found = false;
for (int i = 0; i < C.length; i++) {
found = C[i].search(acn);
if (found) {
C[i].deposit();
break;
}
}
if (!found) {
System.out.println("Search Failed..Account Not Exist..");
}
break;

case 4:
System.out.print("Enter Account No : ");
acn = KB.next();
found = false;
for (int i = 0; i < C.length; i++) {
found = C[i].search(acn);
if (found) {
C[i].withdrawal();
break;
}
}
if (!found) {
System.out.println("Search Failed..Account Not Exist..");
}
break;

case 5:
System.out.println("Good Bye..");
break;
}
}
while (ch != 5);
}
}

Output:
How Many Customer U Want to Input : 2

Enter Account No: 101


Enter Name: Chintu
Enter Balance: 25000
Enter Account No: 102
Enter Name: Alexander
Enter Balance: 30000

Main Menu
1.Display All
2.Search By Account
3.Deposit
4.Withdrawal
5.Exit
Ur Choice :
1

101,Chintu,25000
102,Alexander,30000

Main Menu
1.Display All
2.Search By Account
3.Deposit
4.Withdrawal
5.Exit
Ur Choice :
2

Enter Account No U Want to Search...: 102


102,Alexander,30000

Main Menu
1.Display All
2.Search By Account
3.Deposit
4.Withdrawal
5.Exit
Ur Choice :
2

Enter Account No U Want to Search...: 105


Search Failed..Account Not Exist..

Main Menu
1.Display All
2.Search By Account
3.Deposit
4.Withdrawal
5.Exit
Ur Choice :
3

Enter Account No : 102


102,Alexander,30000
Enter Amount U Want to Deposit :
25000

Main Menu
1.Display All
2.Search By Account
3.Deposit
4.Withdrawal
5.Exit
Ur Choice :
3

Enter Account No : 105


Search Failed..Account Not Exist..

Main Menu
1.Display All
2.Search By Account
3.Deposit
4.Withdrawal
5.Exit
Ur Choice :
4

Enter Account No : 102


102,Alexander,55000
Enter Amount U Want to withdraw :
15000

Main Menu
1.Display All
2.Search By Account
3.Deposit
4.Withdrawal
5.Exit
Ur Choice :
4

Enter Account No : 105


Search Failed..Account Not Exist..

Main Menu
1.Display All
2.Search By Account
3.Deposit
4.Withdrawal
5.Exit
Ur Choice :
5
Good Bye..
Conclusion

Online Bank Management System can be utilized in many sectors although


it has been designed focusing e-banking system. This project can be used as
your semester project in Java or final year project. All the necessary project
documents are available in the download link. If you have any queries,
bring them up from the comments section.
References

1. https://www.codewithc.com/online-bank-management-system-project-java/
2. https://webeduclick.com/java-program-for-bank-account-deposit-withdraw/
3. https://www.includehelp.com/java-programs/banking-management-system.aspx

You might also like