Program to print name of a day using switch case statement.

Explanation:
Here number is inputted in variable 'day' and when it is equivalent with day in week and matches the preceeding case, it will print whatever in the block given.


 

Comments

Popular posts from this blog

Progarm to state that a person can cast vote or not. [Note: A person can cast vote if he is 18 years old or above]

C program to display prime numbers between 1 to 100.

ChatGPT on smartwatches