Technology has advanced to the point where programming has become an essential part of our lives. We use software and applications for communication, entertainment, education, and work, and these are all built on programming languages.

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.


 

Share:

No comments:

Post a Comment

If you have any doubt, let me know...

Translate

Wikipedia

Search results