TURKISTON,
MIKROKREDITBANK,
KAPITALBANK,
HAMKORBANK,
ATTO,
HUMO,
XALQBANKI
}
package OOP.Card;
import java.util.ArrayList;
import java.util.List;
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner scanner = new Scanner(System.in);
List lists = new ArrayList<>();
boolean b = true;
Actions actions = new Actions();
while (b) {
System.out.println("1 - > Open new Account \n2- > " +
"Enter \n3-> All accounts \n4 - > Exit ");
int n = scanner.nextInt();
switch (n) {
case 1:
actions.open();
break;
case 2:
actions.enter();
break;
case 3:
actions.allAccountsShow();
break;
case 4:
b = false;
break;
}
}
}
}
Do'stlaringiz bilan baham: |