Question: JAVA LANGUAGE: assume that month is an int variable whose value is 1 or 2 or 3 or 4 or 5 ...or 11 or 12.
JAVA LANGUAGE: assume that month is an int variable whose value is 1 or 2 or 3 or 4 or 5 ...or 11 or 12. Write an expression whose value is "jan" or "feb" or "mr" or "apr" or "may" or "jun" or "jul" or "aug" or "sep" or "oct" or "nov" or "dec" based on the value of the month. (so, if the value of month were 4 then the value of the expression would be "apr.")
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
