Question: Problem 2 : TimeSpan Design and implement a TimeSpan class which represents a duration of time in hours, minutes, and seconds. The order hours, minutes,
Problem : TimeSpan
Design and implement a TimeSpan class which represents a duration of time in hours, minutes,
and seconds. The order hours, minutes, and seconds should be respected in the constructor.
A zip file which contains:
timespan.h
timespan.cpp
A file containing your Unit Tests utilized during TDD
o These should be comprehensive.
o These can come in any form depending on the Unit Test Framework you
utilize; or they can take the form of the tests below.
o These test cases will not be executed by the grader; we will inspect these
manually to see if they are comprehensive.
vendingbank.h
Please make sure to spell the getter and setter functions exactly as I have them above. Also,
your overloads should follow appropriate signatures of they will not compile appropriately
for the grader.
NOTE: We will test your program on the Linux Lab Systems
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
