Write correct, successfully-compiling, correctly-running programs to accomplish the following tasks:
  1. BookInfo.java -- Print out some basic information about your favorite book, like so:
    Title:               The Hobbit
    Author:             JRR Tolkien
    Published:                 1937
    Pages:                      304
    Favorite Character:     Gandalf
    Has a Movie:                Yes
    				
    For each line, use print for the first half of the line and println for the second half of the line. For example, for the first line, you would use print for the "Title:" part and println for "The Hobbit".
    You must get the formatting correct, with all the left ends aligned and all the right ends aligned. You don't have to use the exact same fields (year published, favorite character, etc.) that I do, but there should be at least 5-6.
  2. Hourglasses.java -- Print out the three alternating, decreasing hourglass shapes, as shown below.
    ************
     *        *
      *      *
       ******
       ******
      *      *
     *        *
    ************
                **********
                 *      *
                  *    *
                   ****
                   ****
                  *    *
                 *      *
                **********
        ********
         *    *
          *  *
           **
           **
          *  *
         *    *
        ********
    
    
  3. Poem.java -- Pick out a short poem you like or some lyrics from a song, 5 to 7 lines of varying lengths. On the first two lines, print the title and author centered, followed by the lines formatted as "right-justified." For example:
    "If I Can Stop One Heart From Breaking"
               Emily Dickinson
    
    If I can stop one heart from breaking,
                 I shall not live in vain;
        If I can ease one life the aching,
                         Or cool one pain,
                Or help one fainting robin
                      Unto his nest again,
                 I shall not live in vain.
    
In at least 150 words, please address the following questions:
  1. How did the process of creating these programs go for you?
  2. What were your main challenges and how did you overcome them?
  3. What did you learn that may be of use as you move along in this class?