Computer Science, asked by rohitsingh2771, 5 months ago

4. Given a time in numbers we can convert it into words. For example 5:00 five o'clock 5:10 ten minutes past five 5:15 quarter past five 5:30 half past five 5:40 twenty minutes to six 5 : 45 quarter to six 5:47 thirteen minutes to six. WAP which first input two integers, the first between 1 and 12 (both inclusive) and second between 0 and 59 (both inclusive) and then prints out the time they represents, in words. Your program should follow the format of the examples above. SAMPLE DATA INPUT: TIME: 3,0 OUTPUT 3:00 three o'clock INPUT: TIME: 7,29 OUTPUT 7:29 Twenty nine minutes past seven. INPUT: TIME: 6,34 OUTPUT 6:34 twenty six minutes to seven INPUT: TIME: 12,1 OUTPUT 12:01 one minutes past twelve INPUT: TIME: 12, 45s OUTPUT 12:45 quarter to one INPUT: TIME: 10 , 59 OUTPUT 10:59 one minute to eleven INPUT: TIME: 14,60 OUTPUT: incorrect input. Test your program for the data values ​​given in the examples above and some random data. ::::::​

Answers

Answered by joyawatts3
0

Answer:

not integers closed under addition explain the chapter the whole numbers explain the chapter the whole numbers explain to me that I am not sure if you have to be found the following numbers and verify your account can

Similar questions