Advertisement
calcpage

APCS_SHORTS_C1X1_NamePrinter.java

Oct 4th, 2013
217
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 5 0.49 KB | None | 0 0
  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. */
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement