Perhaps try something like below...
#include <iostream>
#include <string>
using namespace std;
int main()
{
int start;
int end;
cout << " Time Clock Program" << endl;
cout << "Enter Start time (hh:mm A/P): ";
cin >> start;
cout << std::endl << "Enter Stop time (hh:mm A/P): ";
cin >> end;
cout << std::endl << "start=[" << start << "] end=[" << end << "]" << std::endl;
return 0;
}