can anyone helps me, please?
i must program a projekt but i don´t know how i do it.
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.