# Problems

## Problem 1

Using a while loop, print numbers from 50 to 0.

## Problem 2

Using a while loop, print odd numbers from 100 to 1.

## Problem 3

Using a while loop, print even numbers from 200 to 100.

## Problem 4

Use a while loop to ask the user for 5 numbers.  Print the average of those numbers.

## Problem 5 (optional)

Use a while loop to ask the user for 7 numbers.  Print the maximum number.

## Problem 6 (optional)

Use a while loop to ask the user for 6 numbers.  Print the minimum number.

## Problem 7

You play Roblox and have 5000 Robux.

You want to buy 3 items. In a while loop, ask the user how much each item costs.

Display the amount of Robux you have to start and the amount you have remaining.

## Problem 8

You eat a Chicken Burrito which is 1165 calories and now want to burn off these calories.

You burn 8 calories per minute walking around.

Use a while loop to display a chart to display how many calories you have left to burn off from 60 minutes to 0.

After your exercise, you get even more hungry and eat a Big Mac which is 540 calories. Add these calories to the amount you have left after walking.

You burn 10 calories per minute running.

Use another while loop to display a chart to display how many calories you have left to burn off from 30 minutes to 0.

## Problem 9

Use a while loop to display a table of Celsius temperatures from 20 to 10 and their Fahrenheit equivalents.

The formula for converting a temperature from Celsius to Fahrenheit is:

$$
F=\frac{9}{5}C + 32
$$

Before the while loop, add the following these lines to create your chart.

print("Celsius\tFahrenheit")&#x20;

print("----------------------")

## Problem 10

Use a while loop to display a table of Fahrenheit temperatures from 100 to 85 and their Celsius equivalents.

The formula for converting a temperature from Fahrenheit to Celsius is:

$$
C=\frac{5}{9}(F-32)
$$

Before the while loop, add the following these lines to create your chart.

print("Fahrenheit\tCelsius") print("----------------------")

##
