Masalaning qo’yilish: Click tizimini loyhalsh : Project ni tasnifi


Download 29.46 Kb.
bet2/2
Sana25.11.2021
Hajmi29.46 Kb.
#177353
1   2
Bog'liq
7 - ish

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;

}
}
}


}

Download 29.46 Kb.

Do'stlaringiz bilan baham:
1   2




Ma'lumotlar bazasi mualliflik huquqi bilan himoyalangan ©fayllar.org 2024
ma'muriyatiga murojaat qiling