Created
December 26, 2015 05:32
-
-
Save LearnByCode/ddca10050bea7abd5461 to your computer and use it in GitHub Desktop.
More Printing Assignment
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class PrintReceipt | |
{ | |
public static void main( String[] args ) | |
{ | |
System.out.println( "+--------------------------------------+"); | |
System.out.println( "| Evil Bank ATM Receipt |"); | |
System.out.println( "| Wednesday, December 2, 2015 |"); | |
System.out.println( "| ATM Location # 666 |"); | |
System.out.println( "| |"); | |
System.out.println( "| |"); | |
System.out.println( "| Account Number: 1234567 |"); | |
System.out.println( "| Customer: John Q. Public |"); | |
System.out.println( "| Transaction Type: Deposit |"); | |
System.out.println( "| Transaction Amount: $500.00 |"); | |
System.out.println( "| Account Balance: $1,500.00 |"); | |
System.out.println( "| |"); | |
System.out.println( "| Thank you for banking with us |"); | |
System.out.println( "| Have an evil day |"); | |
System.out.println( "| |"); | |
System.out.println( "+--------------------------------------+"); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment