Compsci UIL “UIL”

Here is a Java program used to solve a trivial problem on a certain UIL (University Interscholastic League) computer science question.

public class uil

{
  public static void main(String[] args)
  {
    for (int i = 0; i < 18; i++)
      System.out.println("UU    UU II LL");
    System.out.println("UUUUUUUU II LLLLLLLL");
    System.out.println("UUUUUUUU II LLLLLLLL");
  }
}

The output?

UU    UU II LL
UU    UU II LL
UU    UU II LL
UU    UU II LL
UU    UU II LL
UU    UU II LL
UU    UU II LL
UU    UU II LL
UU    UU II LL
UU    UU II LL
UU    UU II LL
UU    UU II LL
UU    UU II LL
UU    UU II LL
UU    UU II LL
UU    UU II LL
UU    UU II LL
UU    UU II LL
UUUUUUUU II LLLLLLLL
UUUUUUUU II LLLLLLLL

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s