Computer Science, asked by sujit1970dutta, 8 months ago

write a program in Java to display name of day of week using switch case

please help me​

Answers

Answered by sathvikyadav18
2

Answer:

i will help you

Explanation:

drink ragi java once in three days in a week

Answered by Anonymous
20

Explanation:

  1. 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