Question: please i need help in part two!!! only in C+++ no other languages thanks In this lab we will be coding two blocks of code,

 please i need help in part two!!! only in C+++ no
please i need help in part two!!! only in C+++ no other languages thanks

In this lab we will be coding two blocks of code, both translating time into a 12 hour clock. For our 12 hour clock, 12 o'clock will actually be 0 o'clock. So our hours range from 0 to 11, unlike an actual clock that have hours in the range 1 to 12 . 1. This block of code gets a number of minutes from the user and translates that into time on a 12 hours clock. If the user puts 0 minutes into the program the program should output the string " 0:0r. The number before the colon is the number of hours, the number after the colon is the number of minutes: Here are some more examples of input and output: - Input " 60..3 Output: "1:0" - Input: 121 Output: " 2:11 - Input: "785" "> Output: "1.5 1" \#/ Notice the 12 hour clock time adjusts 13 hours to 1 hour. - HINT: There is a C++ operator that makes it easy to keep the hours between 0 and 11. 2. This block of code expands upon the first one. This time we will take the hours minutes and seconds from the user and translate to 12 hour dock time. The input from the user is in the form "chours? eminutes? eseconds>: The output in is the form " shours: m minutes >,

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!