Programming Assignment 1 (Due by 9 pm, Friday, September 5, 2008)

This project is to be completed individually - all work submitted must be only yours.

Goals for this project: Activate your account, join the class discussion group, and remember how to write Java classes using conditional statements and loops, get input from the keyboard with the Scanner class (plus a couple of methods from the Math class). You will turn in two programs, AverageTemp.java and Guess.java.

For your first assignment, you will do the following:

          Enter air temperatures or a number less than 0 to quit:
          30
          60
          -10
          High Temp: 60
          Low Temp: 30
          Average: 45
        Play the guessing game... guess my random number from 1 to 100
        Pick a number from 1 to 100: 50
            50 is too high.
        Guess a number from 1 to 100: 25
            25 is right!
        You needed 2 guesses.