/**
* Write a method with the name printDayOfTheWeek that has one parameter of type int and name it day.
* The method should not return any value
* Using a switch statement print "Sunday", "Monday", ... , "Saturday"
* if the int parameter "day" is 0, 1, ... , 6 respectively, otherwise it should print "Invalid day".
*
* BONUS
* Write a second solution using if then else, instead of using switch.
*/
-
Notifications
You must be signed in to change notification settings - Fork 0
Adhouma/Day-of-the-week-challenge
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
Java Day of the week challenge
Topics
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published