Switch statement program to find weekday

By: 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

Get Appointment for Interviews

Feel easy to Get Appointment for Interviews. Whatsapp: +92-302-8700085
Prof. Fazal Rehman Shamil
Latest posts by Prof. Fazal Rehman Shamil (see all)