C++ Program to Calculate Difference Between Two Time Period
In this program, user is asked to enter two time periods and these two periods are stored in structure variables t1 and t2 respectively. Then, the computeTimeDifference() function calculates the difference between the time periods and the result is displayed on the screen from the main() function without returning it (call by reference).













