Given a clock that measures 24 hours in a day plz write a programme that takes the hour as input
Using python datetime with strptime and strftime with appropriate fornat %d%h%y.....etc
In which Language? Instead help, pls tag the language.. And how you want to measure? Add more details... Edit : Sitesh Bharti Pls add your tried code also..
Given a clock that measures 24 hours in a day. Write a program, that takes the hour as input. If the hour is in the range of 0 to 12, output am to the console, and output pm if it's not. Sample Input 13 Sample Output pm
It’s assumed the input number is positive and less than or equal to 24.