Given the time in numerals we may convert it into words, as shown below:
At , use o' clock. For , use past, and for use to. Note the space between the apostrophe and clock in o' clock. Write a program which prints the time in words for the input given in the format described.
Complete the timeInWords function in the editor below. It should return a time string as described.
timeInWords has the following parameter(s):
h: an integer representing hour of the day
m: an integer representing minutes after the hour
The first line contains , the hours portion
The second line contains , the minutes portion