Write a program which first inputs 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 represent, in words.
Test Your program for the following data:-

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 :   6:34  
OUTPUT : 6:34  Twenty Six  Minutes To Seven     
INPUT :    TIME  : 14,60
OUTPUT : Incorrect input
                                   
            







     
                     

Contact Us

REACH US

SERVICES

  • CODING
  • ON-LINE PREPARATION
  • JAVA & PYTHON

ADDRESS

B-54, Krishna Bhawan, Parag Narain Road, Near Butler Palace Colony Lucknow
Contact:+ 919839520987
Email:info@alexsir.com