Demo entry 6596400

Seriously

   

Submitted by Harry Handelbar on Jun 04, 2017 at 20:06
Language: Java. Code size: 564 Bytes.

public class Seriously {
  public static void main(String[] args) {
    String w[] = { "dont", "take", "anything", "seriously" };
    String sp = " ", q1 = "'", q2 = "\"", bl = "";
    for (int i=0;i<6;i++) { 
      for (int j=i;j>0;j--)
        for (int k=0;k<2;k++)
          System.out.print(w[k]+(k<1?sp:sp+(j%2==0?q1:q2)));
      for (int l=0;l<4;l++)
        System.out.print(w[l]+(l<3?sp:bl));
      for (int m=0;m<i;m++)
        System.out.print((m%2==0?q2:q1)+sp+w[3]);
      System.out.println();
    }
    System.out.println(w[3]);
  }
}

This snippet took 0.00 seconds to highlight.

Back to the Entry List or Home.

Delete this entry (admin only).