1. Write a program that converts height from integer inches to feet and inches
2. Write a short program that asks for height in feet and inches and your weight in punds. Have the program report your Body Mass Index (BMI)
3. Write a program that asks for a latitude in degrees, minutes, and seconds and then displays the latitude in a deimal format.
Enter a latitude in degrees, minutes and seconds:
Degrees: 37
Minues: 51
Seconds: 19
37 degrees, 51 minutes, 19 seconds = 37.8553 degrees
4. Write a program that takes seconds as input and displays it in days, hours, minutes and seconds.
Enter the number of seconds: 31600000
31600000 seconds = 365 days, 17 hours, 46 minutes, 40 seconds
5. Write a program that takes the current population of the world and the population of some country and outputs the percent of the world's population lives in that country.
Enter the world's population: 6898758899
Enter the population of your country: 310783781
The population of your country is 4.50492% of the world population.
6. Write a program that takes miles and gallons as input and outputs miles per gallon
7. Write a program that asks for liters per 100 kilometers and converts it to miles per gallon.
Enter how many liters per 100 km:
> 12.4
12.4L/100km is 19.4188 miles per gallon