hey everybody
can anyone helps me, please?
i must program a projekt but i don´t know how i do it.
the projekt:
Write a program to convert from 12-hour time format to 24-hour time format. The 12-
hour format has the form hours:minutes followed by either A, P, AM, or PM (either lower
case or upper case but not mixed). One white space is allowed but not required between
the numerical time and the AM/PM indicator. The 24-hour format must be printed with
leading zeros, to ensure that a 24-hour time always consists of four digits. The output
line is followed by a new-line character.
JonaRab
0
Newbie Poster
Recommended Answers
Jump to PostWhat part of the instructions do you not understand? Post what you have attempted to do so far.
All 2 Replies
Reply to this topic
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.