I don't particular understand the requirement you say your entering data as in:
Enter hrs, mins and am/pm country A: 10 30 am
Enter time difference (in hrs) of country A & B: 4
Enter hrs and mins of flight duration: 1 20
The arrival local time in city B is 2:50 pm
What of this is output and what is input: What questions do you need to ask the user and what do you want the program to display?
is it just the output of the last line?
eg, all you would need is to add the flight time to the current time and the time difference to current time:
so say you enter 8:30am wiht 4 hour difference in country b, and 1.20 flight time then the output time would be: 8:30 + 4:00 = 12:30 + 1:20 = 1:50pm
or 13:50 army time.
is this correct?
this should just be a simple addition using the time class.
perhaps using gmtime ?
http://www.cplusplus.com/reference/clibrary/ctime/gmtime/
http://www.cplusplus.com/reference/clibrary/ctime/time/
i would convert input to seconds and use time to calculate.