1 homework Help? Sun Feb 19, 2012 3:23 pm
dno933
Member
1. Write a program that converts a Fahrenheit temperature to the equivalent Celsius temperature. To convert Fahrenheit to Celsius, subtract 32 from the Fahrenheit temperature and multiply by 5/9.
2. Write a program that converts a Celsius temperature to the equivalent Fahrenheit temperature. To convert Celsius to Fahrenheit, the multiply the Celsius temperature by 9/5 and plus 32.
3. Write a program to convert a time duration to the equivalent total number of seconds. For example 1 hour 28 minutes and 42 seconds is equivalent to 5322 seconds. Display it on the screen.
4. Write a program that converts the number of seconds into the equivalent amount of time as a combination of hours, minutes, and seconds. For example, 9999 seconds is equivalent to 2 hours, 46 minutes and 39 seconds.
2. Write a program that converts a Celsius temperature to the equivalent Fahrenheit temperature. To convert Celsius to Fahrenheit, the multiply the Celsius temperature by 9/5 and plus 32.
3. Write a program to convert a time duration to the equivalent total number of seconds. For example 1 hour 28 minutes and 42 seconds is equivalent to 5322 seconds. Display it on the screen.
4. Write a program that converts the number of seconds into the equivalent amount of time as a combination of hours, minutes, and seconds. For example, 9999 seconds is equivalent to 2 hours, 46 minutes and 39 seconds.