JPR Microproject
JPR Microproject
JPR Microproject
1 3.Proposed Methodology 1
4. Action Plan 2
5. Resources Required 2
1.Rationale 3
0
Annexure –I
Micro-Project Report
1. CO1- Develop JAVA programs to solve problems using Procedure Oriented Approach.
2. CO2- Develop JAVA programs using classes and objects.
3. CO3- Implement Inheritance in JAVA program.
4. CO4- Use Polymorphism in JAVA program.
5. CO5- Develop JAVA programs to perform file operations.
3. Proposed Methodology:
Here we are using JAVA Program to execute Bank Management Program.
We have added various concepts ( like Classes, Objects, Inheritance, File Operations, Time
Funcitions, Polymorphism ) And many more.
Bank Management System Program performs Management of Bank with using above functions.
4.Action Plan:
1
Sr. Planned Planned Name of Responsible
No. Details of Activity Start date Finish date Team Members
1 Search the topic 29/08/2022 5/09/2022 Sonkamble aparna ,
4:00pm-5:00pm 4:00pm-5:00pm Gholve Aarohi &
Gayake Rutuja
2 Search the information 12/09/2022 19/09/2022 Sonkamble aparna
4:00pm-5:00pm 4:00pm-5:00pm Rutuja Gayake &
gholve Aarohi
3 Algorithm developing 26/09/2022 03/10/2022 Sonkamble aparna ,
4:00pm-5:00pm 4:00pm-5:00pm gholve Aarohi &
Gayake rutuja
4 Flowchart developing 10/10/2022 15/10/2022 Sonkamble aparna ,
4:00pm-5:00pm 4:00pm-5:00pm gholve Aarohi &
gayake rutuja
5 Function making 31/10/2022 07/11/2022 Sonkamble aparna ,
4:00pm-5:00pm 4:00pm-5:00pm Gholve Aarohi &
Gayake Rutuja
6 Coding developing 14/11/2022 21/11/2022 Sonkamble aparna ,
4:00pm-5:00pm 4:00pm-5:00pm Gholve Aarohi &
Gayake Rutuja
7 Debugging 28/11/2022 05/12/2022 Sonkamble aparna ,
4:00pm-5:00pm 4:00pm-5:00pm Gholve Aarohi &
Gayake Rutuja
8 Finalizing Project with its 12/12/2022 19/12/2022 Sonkamble aparna ,
report 4:00pm-5:00pm 4:00pm-5:00pm Gholve Aarohi &
Gayake Rutuja
5. Resources Required:
Sr.
No. Name of resource / material Specification Quantity Remarks
3 Compiler MingW 1
4 Browser Chrome 1
6.Names of Team Members with Roll No.’s:
Sr.
No. Enrollment No. Name of Team Member Roll No.
2
Annexure – II
Micro-Project Report
1. CO1- Develop JAVA programs to solve problems using Procedure Oriented Approach.
2. CO2- Develop JAVA programs using classes and objects.
3. CO3- Implement Inheritance in JAVA program.
4. CO4- Use Polymorphism in JAVA program.
5. CO5- Develop JAVA programs to perform file operations.
4. Literature Review:
Here we are using JAVA Program to execute Bank Management Program.
We have added various concepts ( like Classes, Objects, Inheritance, Switch Cases, Scanner
Class, String Classes ) And many more.
Bank Management System Program performs Management of Bank with using above functions.
Main () Function:
int n = sc.nextInt();
C[i].openAccount();
3
}
int ch;
do {
ch = sc.nextInt();
5 .Actual MethodologyFollowed:
4
5.2 Source code :
import java.util.Scanner;
class BankDetails {
private String accno;
private String name;
private String acc_type;
private long balance;
Scanner sc = new Scanner(System.in);
//method to open new account
public void openAccount() {
System.out.print("Enter Account No: ");
accno = sc.next();
System.out.print("Enter Account type: ");
acc_type = sc.next();
System.out.print("Enter Name: ");
name = sc.next();
System.out.print("Enter Balance: ");
balance = sc.nextLong();
}
//method to display account details
public void showAccount() {
System.out.println("Name of account holder: " + name);
System.out.println("Account no.: " + accno);
System.out.println("Account type: " + acc_type);
System.out.println("Balance: " + balance);
}
//method to deposit money
public void deposit() {
long amt;
System.out.println("Enter the amount you want to deposit: ");
amt = sc.nextLong();
balance = balance + amt;
}
//method to withdraw money
public void withdrawal() {
long amt;
System.out.println("Enter the amount you want to withdraw: ");
amt = sc.nextLong();
if (balance >= amt) {
balance = balance - amt;
System.out.println("Balance after withdrawal: " + balance);
5
} else {
System.out.println("Your balance is less than " + amt + "\tTransaction
failed...!!" );
}
}
//method to search an account number
public boolean search(String ac_no) {
if (accno.equals(ac_no)) {
showAccount();
return (true);
}
return (false);
}
}
public class BankingApp {
public static void main(String arg[]) {
Scanner sc = new Scanner(System.in);
//create initial accounts
System.out.print("How many number of customers do you want to input?
");
int n = sc.nextInt();
BankDetails C[] = new BankDetails[n];
for (int i = 0; i < C.length; i++) {
C[i] = new BankDetails();
C[i].openAccount();
}
// loop runs until number 5 is not pressed to exit
int ch;
do {
System.out.println("\n **Banking System Application**");
System.out.println("1. Display all account details \n 2. Search by Account
number\n 3. Deposit the amount \n 4. Withdraw the amount \n 5.Exit ");
System.out.println("Enter your choice: ");
ch = sc.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. you want to search: ");
6
String ac_no = sc.next();
boolean found = false;
for (int i = 0; i < C.length; i++) {
found = C[i].search(ac_no);
if (found) {
break;
}
}
if (!found) {
System.out.println("Search failed! Account doesn't exist..!!");
}
break;
case 3:
System.out.print("Enter Account no. : ");
ac_no = sc.next();
found = false;
for (int i = 0; i < C.length; i++) {
found = C[i].search(ac_no);
if (found) {
C[i].deposit();
break;
}
}
if (!found) {
System.out.println("Search failed! Account doesn't exist..!!");
}
break;
case 4:
System.out.print("Enter Account No : ");
ac_no = sc.next();
found = false;
for (int i = 0; i < C.length; i++) {
found = C[i].search(ac_no);
if (found) {
C[i].withdrawal();
break;
}
}
if (!found) {
System.out.println("Search failed! Account doesn't exist..!!");
}
break;
7
case 5:
System.out.println("See you soon...");
break;
}
}
while (ch != 5);
}
}
7.Outputs of Micro-Projects:
8
8.Skill developed / Learning out of this Micro-Project:
There are so many thing that we learn from this project of
*********