Given a time in the format of hh:mm (12-hour format) 0 < hh < 12, 0 <= mm < 60. The task is to convert it into words
The first line of input contains an integer T denoting the number of test cases. Then T test cases follow. Each test case contains two space separated integers 'h' and 'm' denoting hours and minutes respectively.
Output the input time into words.
six o' clock
ten minutes past six
quarter past six
half past six
quarter to seven
thirteen minutes to seven
If you have purchased any course from GeeksforGeeks then please ask your doubt on course discussion forum. You will get quick replies from GFG Moderators there.