Atm
Atm
Scanner;
class Atm {
float Balance = 0;
int Pin = 2340;
if (choice == 1) {
checkbalance();
} else if (choice == 2) {
withdraw();
} else if (choice == 3) {
deposit();
} else if (choice == 4) {
return;
} else {
System.out.println("Invalid choice");
menu();
}
}