A switch statement does not return anything. What is this statement supposed to do?
return switch (day) {
What happens when you add a ; at the location where it is expected?
Type: Posts; User: Norm
A switch statement does not return anything. What is this statement supposed to do?
return switch (day) {
What happens when you add a ; at the location where it is expected?
Line 47 is not marked in the posted code. Please add a comment on line 47: >>> LINE 47 so line 47 is easy to find.
What is on that line?
Please copy the full text of the error message and paste it here.
It needs to show what line the error is on.
Please edit your post and wrap your code with code tags:
**YOUR CODE GOES...