Program to take the hours and minutes as input by the user and the show that whether it is AM or PM using if-else statement

Last modified on December 24th, 2019

Program to take the hours and minutes as input by the user and the show that whether it is AM or PM using if-else statement

Flowchart of Program to show that whether it is AM or PM using if-else statement

Flowchart of Program to show that whether it is AM or PM using if-else statement

 

C++ Source code  take the hours and minutes

Output

enter time to check if pm or am?

13

Time is not AM, its PM

SFT (Shamil’s Flow Table )

Are you interested to Read about SFT(Shamil’s Flow Table)?

Explanation of Program to check AM or PM using if-else statement

Subscribe for Friendship

Latest posts by Prof. Fazal Rehman Shamil (see all)