daily pastebin goal
10%
SHARE
TWEET

APCS_SHORTS_C1X1_NamePrinter.java

calcpage Oct 4th, 2013 26 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. /*
  2. NamePrinter.java        MrG     2013.1001
  3. purpose:                practice with println boxing my name
  4. required files:         NamePrinter.java                main class
  5. translator phase:       javac NamePrinter.java
  6. interpreter phase:      java NamePrinter
  7. */
  8.  
  9. //main method
  10. public class NamePrinter
  11. {
  12.         public static void main(String[] args)
  13.         {
  14.                 System.out.println("+-----+");
  15.                 System.out.println("| MrG |");
  16.                 System.out.println("+-----+");
  17.         }
  18. }
  19.  
  20. /* Now you do FacePrinter.java
  21.   /////
  22.  | o o |
  23. (|  ^  |)
  24.  | [_] |
  25.   -----
  26. */
RAW Paste Data
Top