|
|||
Working HoursWrite a program that helps you calculate the employees’ time spent on work. The input contains several test cases. Each line of a test case gives the length of a time period spent on work in H.MM format, where H denotes the number of hours (H ≥ 0), and MM denotes the minutes, the latter always given with two digits (0 ≤ HH < 60).
Test cases are terminated by a line containing the string „ The program should write to the standard output the total time spent on work by each employee, in the same format as in the input. Sample Input
Output for Sample Input
Acknowledgement
This work was supported by the construction EFOP-3.4.3-16-2016-00021. The project was supported by the European Union, co-financed by the European Social Fund.
|
|||
University of Debrecen; Faculty of Informatics; v. 09/30/2024 |