Note: In-progress
  1. Write Hello.java and HiWorld.java.
  2. Compile and run them at command line and in your IDE.
  3. Write a program called FtoCent that converts Fahrenheit to Centigrade.

    It should prompt the user for one number, convert it, then show the result. Do not write any code to handle invalid input.

  4. Write a program called Banner that prints out your initials in banner format. For instance, my initials are mcb, so my program would print this:
    M   M     CCCCC     BBBB
    MM MM     C         B   B
    M M M     C         BBBB
    M   M     C         B   B
    M   M     CCCCC     BBBB   
    
    The program has no input and no processing, just output. Make sure the letters look right!
  5. Complete the program for exercise 2.24 at the end of Chapter 2. Do NOT use arrays or any other technique not yet covered in class.

  6. Already a programmer? Try this: Does Java support short-circuiting? Write a program called ShortTest to demonstrate.
  7. Complete the TimeEntry program.

  8. Write the application called PlayStrings.
  9. Make sure to work out the answers in Loop Practice (from your readings). Make sure to do this before writing the code, then write a program called Loops that has the code for the valid loops. You may put anything inside the loops. Your program should print the answers like this:

    Loop 1 executes N times.
    Loop 2 executes N times.
    Loop 3 executes N times.
    Loop 4 executes N times.
    Loop 5 executes N times.
    Loop 6 executes N times.
    Loop 7 executes N times.
    
    where N is a counter that calculates how many times the loop executes. If a loop is infinite, print out a message like this instead:
    Loop 6 is an Infinite Loop.
    
  10. Write the application called Triangle.

  11. Copy the code example at the bottom of the page for arrays to create a program called MyTestScores. Copy in and use this code for the TestScore class: TestScore.java.

  12. Read the page on Command-Line Arguments and type in the code at the bottom to create a program called PlayArgs that prints command-line arguments. Make sure you figure out how to run it with arguments from your IDE.

  13. Write the class needed to complete the BullsEye program.