PROGRAMMING AND CODE


Assignemnt #9

Code

  /// Name: Justin Li
  /// Period 7
  /// Program Name: PrintingChoices
  /// File Name: PrintingChoices.java
  /// Date Finished: 9/9/15

  class PrintingChoices {
  
      public static void main(String[]args) {
      
          System.out.println("Apple");
          System.out.println("Baby");
          
          System.out.println("Charles");
          System.out.println("DAMN");
          System.out.println();

          System.out.print("Ey");
          System.out.print("Bo$$");
          
          System.out.println("Apple");
          System.out.print("Apple");
          System.out.println("Apple");
          System.out.println("Apple");
          
          System.out.println();
          System.out.println("Apple" + "Apple" + "Apple" + "Apple");
          
          
      }
  }
    

Picture of the output

Assignment 1