Question: program in java I LIS 134 Homework - Decision Structures Monday's child is fair of face Tuesday's child is full of grace Wednesday's child is
I LIS 134 Homework - Decision Structures Monday's child is fair of face Tuesday's child is full of grace Wednesday's child is full of woe Thursday's child has far to go, Friday's child is loving and giving, Saturday's child works hard for a living, And the child that is born on the Sabbath day Is bonny and blithe, and good and gay. Source: https://en.wikipedia.org/wiki/Monday%27s_Child Ask the user to indicate the day of the week using a menu. For ease of programming, request numbers rather than strings. For example, 1 for Monday, 2 for Tuesday, etc. Print out the line(s) of the poem corresponding to the day of the week entered. Use the final else or default case to handle numbers out of range. Submit two versions of this application, one using if-else-if-else and one using a switch
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
