Practice ยท 3 of 4
Time Splitter
Implement void split_hms(int total, int* h, int* m, int* s) filling hours, minutes (0-59), seconds (0-59) through the OUT parameters. total=7275 -> h=2, m=1, s=15.
Difficulty: beginner
Press Submit to check your solution.
Back to lesson: Practice: Decomposition