Question: Problem B: How much does your prof work? (20 points) Your professor needs to figure out how many meetings to schedule in a day, but
Problem B: How much does your prof work? (20 points) Your professor needs to figure out how many meetings to schedule in a day, but they need your help! Create a C++ program for your prof that lets them input how much time they have for meetings (in hours and/or minutes), then ask them how long each of their meetings are. Your program should output how many meetings they can fit into this amount of time (assume the first input is a single large block of time). Some rules: You cannot schedule fractional meetings.
The format for inputting time looks like this: 12h30m (12 hours 30 minutes) OR this: 45m (45 minutes). You code needs to handle EITHER input format for both inputs.
You can assume that the numbers for hour and minute are positive whole numbers
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
