Switch statement program to find weekday

Prof. Fazal Rehman Shamil
Last modified on December 24th, 2019

Let us see the Switch statement program to find a weekday.

Flowchart of the program to find weekday

Flowchart of the if-else program to input day number and print weekday

Switch statement program Source Code to find weekday from day number


Enter No. of Days (1-7)


It’s Friday

SFT (Shamil’s Flow Table )

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

Logic and Explanation of the Switch statement program to show weekday name from day number

Prof.Fazal Rehman Shamil (Available for Professional Discussions)
1. Message on Facebook page for discussions,
2. Video lectures on Youtube
3. Email is only for Advertisement/business enquiries.