- 2

Given a clock that measures 24 hours in a day plz write a programme that takes the hour as input

Plz help

17th Sep 2020, 9:19 AM
Sitesh Bharti
Sitesh Bharti - avatar
5 Réponses
+ 6
Using python datetime with strptime and strftime with appropriate fornat %d%h%y.....etc
17th Sep 2020, 10:31 AM
HBhZ_C
HBhZ_C - avatar
+ 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..
17th Sep 2020, 10:31 AM
Jayakrishna 🇮🇳
+ 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
17th Sep 2020, 2:20 PM
Sitesh Bharti
Sitesh Bharti - avatar
+ 1
It’s assumed the input number is positive and less than or equal to 24.
17th Sep 2020, 2:20 PM
Sitesh Bharti
Sitesh Bharti - avatar
0
Javascript
17th Sep 2020, 2:17 PM
Sitesh Bharti
Sitesh Bharti - avatar