Skip to content

Commit

Permalink
Merge pull request #9 from fredrick-kamau1/stage-3
Browse files Browse the repository at this point in the history
new menu changes
  • Loading branch information
fkamau1 authored Feb 9, 2023
2 parents 954d163 + 77dbb49 commit 927d9e2
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion app/src/main/java/bankingapp/App.java
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,10 @@ public static void logIn(HashMap<String, Integer> account) {
subModule:
do {
System.out.println("\n1. Balance\n" +
"2. Log out\n" +
"2. Add income\n" +
"3. Do transfer\n" +
"4. Close Account\n" +
"5. Log Out\n" +
"0. Exit");

answer = input.nextInt();
Expand All @@ -152,6 +155,15 @@ public static void logIn(HashMap<String, Integer> account) {
System.out.println("\nBalance: " + balance);
break;
case 2:

break;
case 3:

break;
case 4:

break;
case 5:
System.out.println("\nYou have successfully logged out");
break subModule;
case 0:
Expand Down
Binary file modified card.db
Binary file not shown.

0 comments on commit 927d9e2

Please sign in to comment.