Submit the source code & output for each program using the Homework Template
Submit your .docx file on eCampus

Program 1 - Write a program that has the main menu listed below.  It should be in a while loop so that it repeats until the user selects 4 to Exit.

Program 1 Example Output

1 = Convert Fahrenheit to Celsius
2 = Convert Miles to Kilometers
3 = Convert Gallons to Liters
4 = Exit

Enter Your Choice: 2

Enter the number of Miles: 2
This is 3.3333 Kilometers

<program loops and goes back to main menu>

1 = Convert Fahrenheit to Celsius
2 = Convert Miles to Kilometers
3 = Convert Gallons to Liters
4 = Exit


Program 2 - Write a program that asks the user how many pennies, nickels, dimes, and quarters they have.  Output the total dollar amount of money they have.

Also, output these comments about the amount of money they have:

If the user has... The program will output this
< $0.25 You need to search for some pennies!
>= $0.25 and < $1.00 You can't even buy a soda!
>= $1.00 and < $2.00 You can maybe buy a soda.
>= $2.00 All those coins must be heavy!

Extra Credit:  The user would like to exchange their coins so that they will have the same amount of money, but with the fewest possible coins.  Tell the user the fewest coins that will add up to the same dollar amount.

Program 2 Example Output

How many pennies do you have? 3
How many nickels do you have? 2
How many dimes do you have? 1
How many quarters do you have? 2

Your net worth is $0.73
You can't even buy a soda!


Program 3 - Write a program that prints the song "99 bottles of root beer on the wall" using a for loop.  Only print the last 5 verses for your homework.  Be sure to make your program grammatically correct (2 bottles, 1 bottle).

Program 3 Example Output

5 bottles of root beer on the wall.
5 bottles of root beer.
Take one down, pass it around.
4 bottles of root beer on the wall.
-----------------------------------
4 bottles of root beer on the wall.
4 bottles of root beer.
Take one down, pass it around.
3 bottles of root beer on the wall.
-----------------------------------
3 bottles of root beer on the wall.
3 bottles of root beer.
Take one down, pass it around.
2 bottles of root beer on the wall.
-----------------------------------
2 bottles of root beer on the wall.
2 bottles of root beer.
Take one down, pass it around.
1 bottle of root beer on the wall.
-----------------------------------
1 bottle of root beer on the wall.
1 bottle of root beer.
Take one down, pass it around.
Need to buy some more root beer!
-----------------------------------


Extra Credit - Write a program that plays the number guessing game as shown below.  For each guess, it should have the following responses:

Player's Guess Program Response
If player's guess is within 10 That's a little low/high
If player's guess is within 20 That's low/high
If player's guess is within 40 That's way too low/high
If player's guess is within 80 You're not even in the ballpark

In addition, track how many trys it took the player to guess the number.

Program Example Output
I have selected a random number between 1 and 100.
See how long it takes you to guess it.

What's your guess? 25
That's way too low.
What's your guess?
50
That's a little low.
What's your guess?
60
That's a little high.
What's your guess?
55
That's a little low.
What's your guess?
57
That's it!!! It took you 5 guesses.