Skip to content

Commit

Permalink
Update MainBank2.java
Browse files Browse the repository at this point in the history
Corrected a typo
  • Loading branch information
rafael-java authored Oct 16, 2020
1 parent 5becc6e commit 4a668c8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions MainBank2.java
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ public static void main(String[] args) {

// main menu and menu1 text
System.out.println("Welcome to the Bank Program");
System.out.println("Type 1 for inputs (add and remove), 2 for operations (deposit etc), 3 to exist");
System.out.println("Type 1 for inputs (add and remove), 2 for operations (deposit etc), 3 to exit");
Integer number = scan.nextInt();

// a while (true) [loop1] so it checks twice for the number typed, if there
Expand Down Expand Up @@ -276,4 +276,4 @@ public static void main(String[] args) {
}
} // end of loop1
}
}
}

0 comments on commit 4a668c8

Please sign in to comment.