Assessment | Questions And Correct Answers
22.1 Lab: Convert to Seconds
Write a program that reads in hours, minutes, and seconds as input, and outputs
the time in seconds only.
22.2 Lab: Convert from Seconds
People find it easier to read time in hours, minutes, and seconds rather than just
seconds.
, Write A Program That Reads In Seconds As Input And Outputs The Time In Hours,
Minutes, And Seconds.
22.3 Lab: Pizza Party
Given The Number Of People Attending A Pizza Party, Output The Number Of
Needed Pizzas And Total Cost. For The Calculation, Assume That People Eat 2
Slices On Average And Each Pizza Has 12 Slices And Costs $14.95.