C# program to input weekday number and print the weekday
belongs to collection: C# Basic Programs | If else (conditional statement) programs
All Answers
total answers (1)
belongs to collection: C# Basic Programs | If else (conditional statement) programs
total answers (1)
C# code to print weekday name from given weekday number (0-6)
Here, we are asking for an input of the weekday number (from 0 to 6) and print the weekday based on the given input using switch statement.
Output