in C++
Task A. Simple functions for time Create a new program time.cpp (Copy the class Time declaration in your program, it should be placed before main() function.) Implement two new functions: int minutessinceMidnight (Time time); int minutesUntil(Time earlier, Time later); The first function should return the number of minutes from 0:00AM until time The second function should receive two Time arguments earlier and later and report how many minutes separate the two moments. For example,
OR
OR