Challenge 2: What Day is it?
Apply your understanding of Java conditional statements by coding a solution that converts numeric inputs to days of the week, handling invalid values appropriately. This exercise reinforces if-else and switch-case logic and prepares you for solution review.
We'll cover the following...
We'll cover the following...
Problem statement?
There are so many formats in the days of the week. Some people say the first day, some say Monday. Today we will define a format for the day of the week!
Coding exercise
In this ...