0
My program isn't working! The time won't print. I'm a begginer, so please guide me and help me improve this code.
2 ответов
+ 3
cin stops at whitespace characters. Change input to this:
cin.getline(time,9);
Advices:
Use indention!
For PM calculate the hours +12