/**
 * SMTI06, 54411850, M Haidar Hanif
 * Task Five: Automated Teller Machine
 * Auteline | Simple ATM simulator with basic features
 */

// Screen.java
// Represents the screen of the ATM

package main.java;

public class Screen {

  // display a message without a carriage return
  public void displayMessage(String message) {
    System.out.print(message);
  }

  // display a message with a carriage return
  public void displayMessageLine(String message) {
    System.out.println(message);
  }

  // displays a dollar amount
  public void displayDollarAmount(double amount) {
    System.out.printf("$%,.2f", amount);
  }

}

@@ -621,10 +621,241 @@
 );%0A  %7D%0A%0A
+  // get message with a carriage return%0A  public String getMessage(String message) %7B%0A    return message;%0A  %7D%0A%0A  // get dollar amount%0A  public String getDollarAmount(double amount) %7B%0A    return String.format(%22$%25,.2f%22, amount);%0A  %7D%0A%0A
 %7D%0A

Create new methods to get specific string