Day of the week

  • 3
  • Locked
Use the keyboard to enter a number representing a day of the week. Then, depending on the entered number, display the name of the day of the week: "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday", "Sunday", if you enter a number greater than 7 or less than 1, display "No such day o
You can't complete this task, because you're not signed in.
Comments (7)
  • Popular
  • New
  • Old
You must be signed in to leave a comment
Hoist
Level 26 , San Diego, United States
7 June, 22:09
This is a very thorough code layout and reasoning in Code Gym Help HERE: https://codegym.cc/help/862 > I am just not that good at Java nor Javascript nor C# ... yet ; if (condition) { ... } else if (condition) { ... } else { ... }
Ali_Alshehri
Level 5 , Saudi Arabia
24 April, 18:43
there is error in I am sure the number 4 is Thursday
Roman
Level 41
4 May, 06:22
I don't understand what is the error?
Ali_Alshehri
Level 5 , Saudi Arabia
8 May, 18:35
when I run the program I am sure the number 4 is Thursday but the compiler shows me an error
Roman
Level 41
16 May, 06:09
Please post your question with the attached solution in the section Help.
Paul Melling
Level 14 , United States of America, United States
20 March, 12:04
Pretty Sure Sunday is the first day of the week.
Roman
Level 41
4 May, 06:21
In this task, the order of days is: "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday", "Sunday"