Write a program that uses scanf to accept a time in HH:MM:SS 24-hour format.
The three components must be validated before they are printed in the new format: HH hours,
MM minutes, SS seconds.
The statement printf(“%d%f\n”); doesn’t print the six-character string enclosed within quotes.
Correct the statement.
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here