- 2
Given a clock that measures 24 hours in a day plz write a programme that takes the hour as input
Plz help
5 Answers
+ 6
Using python datetime with strptime and strftime with appropriate fornat %d%h%y.....etc
+ 2
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..
+ 1
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
+ 1
Itâs assumed the input number is positive and less than or equal to 24.
0
Javascript