write a program in Java to display name of day of week using switch case
please help me
Answers
Answered by
2
Answer:
i will help you
Explanation:
drink ragi java once in three days in a week
Answered by
20
Explanation:
- Logic to print day of week name using switch... case
- Input day number from user.
- Switch the value of week i.e. use switch(week) and match with cases.
- There canbe 7 possible values(choices) of week i.e. 1 to 7 .
- For case 1: print "MONDAY", for case 2: print "TUESDAY" and so on.
Similar questions