Professional Documents
Culture Documents
Semester : - IV
CERTIFICATE
Academic Year-2022-23
Title of Micro Project :- Mini banking system for handling deposits and
withdrawals Semester:-IV th
Sr.
Details Page No.
No.
1 Rubric
2 Abstraction
Introduction
3
4 Conclusion
5 References
(Prof.P.U.Mandlik)
Name and Signature of Guide
MATOSHRI AASARABAI POLYTECHNIC, EKLAHARE, NASHIK
Department of Information Technology Engineering
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
Title of the Project :- Mini banking system for handling deposits and withdrawals
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
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.
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:
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
1. bankingapp.java
2. login.java
3. menu.java
4. banking_account.java
5. deposit.java
6. invalid_transaction.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();
}
}
/* 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{
/* 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;
}
}
}
/* 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;
}else{
return amt;
}
return amt;
}
}
withdrw(amt): It removes the amount from balance amount from bank account.
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;
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
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
Main Menu
1.Display All
2.Search By Account
3.Deposit
4.Withdrawal
5.Exit
Ur Choice :
2
Main Menu
1.Display All
2.Search By Account
3.Deposit
4.Withdrawal
5.Exit
Ur Choice :
3
Main Menu
1.Display All
2.Search By Account
3.Deposit
4.Withdrawal
5.Exit
Ur Choice :
3
Main Menu
1.Display All
2.Search By Account
3.Deposit
4.Withdrawal
5.Exit
Ur Choice :
4
Main Menu
1.Display All
2.Search By Account
3.Deposit
4.Withdrawal
5.Exit
Ur Choice :
4
Main Menu
1.Display All
2.Search By Account
3.Deposit
4.Withdrawal
5.Exit
Ur Choice :
5
Good Bye..
Conclusion
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