Program to take the hours and minutes as input by the user and then show that whether it is AM or PM by using the switch statements.

Last modified on December 24th, 2019

Program to take the hours and minutes as input by the user and then show that whether it is AM or PM by using the switch statements.

Flowchart of Program to take the hours and minutes and then show AM or PM by using the switch statements.

Program to take the hours and minutes as input by the user and the show that whether it is AM or PM by using the switch statements

Program to take the hours and minutes and the show that whether it is AM or PM by using the switch statements

Output of Program

Input The time in 24 hours format in Given Sequence

input Hours :

11

input Minutes :

33

The time is in PM

SFT (Shamil’s Flow Table )

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

exaplanation of Program to take the hours and minutes as input by the user and the show that whether it is AM or PM by using switch statement

 

 

Subscribe for Friendship

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