Question: Write a C++ program using ONLY from the provided libraries (you dont have to use all, but dont use anything outside of them): #include #include
Write a program that inputs a time from the console. The time should be in the format "HH:MM AM" or "HH:MM PM". Hours may be one or two digits, for example, "1:10 AM" or 11:30 PM". Your program should then convert the time into a four digit military time based on a 24 hour clock. For example, "1:10 AM" would output "0110 hours" and "12:30 PM" would output "2330 hours" 95
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
