Question: First picture is my code and please help me to fix it so that it can work as second picture. Please don't use any other

 First picture is my code and please help me to fixit so that it can work as second picture. Please don't use

First picture is my code and please help me to fix it so that it can work as second picture. Please don't use any other special method.

#include #include iomanip> using namespace std; int main() int hours, minutes, breakH, breakM; char ampm; cout > hours >>minutes>>ampm; cout > breakH >> breakM; hours hours 12; minutesminutes breakM; minutes = minutes % 60; hours hours + breakH; cout 12) cout

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!