sync
This commit is contained in:
@@ -42,4 +42,15 @@ public class Display {
|
||||
throw new UnsupportedOperationException();
|
||||
}
|
||||
|
||||
}
|
||||
public static String get_default_display() {
|
||||
StringBuilder sb = new StringBuilder(); // Use StringBuilder for efficiency
|
||||
sb.append("------------------------------------\n");
|
||||
sb.append("Welcome to the ATM\n");
|
||||
sb.append("1. Check Balance\n");
|
||||
sb.append("2. Withdraw Cash\n");
|
||||
sb.append("3. Deposit Cash\n");
|
||||
sb.append("------------------------------------\n");
|
||||
return sb.toString();
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user