Question: please answer 5. Convert total seconds to hours, minutes and seconds. For example, if the total number of seconds is 125 , it is 0
5. Convert total seconds to hours, minutes and seconds. For example, if the total number of seconds is 125 , it is 0 hours, 2 minutes and 5 seconds. If the total seconds is 7450 , it is 2 hours, 4 minutes and 10 seconds. The following are two sample runs: Enter an integer for total seconds: 7450 total seconds is 2 hours, 4 minutes and 10 seconds Enter an integer for total seconds: 125 total seconds is 0 hours, 2 minutes and 5 seconds 6. Calculate BMI. Note that - 1 kilogram is 2.2 pounds. - 1 inch is 0.0254 meters. - Your program first need to convert pounds to kilograms (i.e. pounds/2.2) and inches to meters (i.e. inches * 0.0254 ) and then use the following formula to calculate BMI
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
