subject

Assume that month is an int variable whose value is 1 or 2 or 3 or 5 or 11 or 12. write an expression whose value is "jan" or "feb or "mar" or "apr" or "may" or "jun" or "jul" or "aug" or "sep" or "oct" or "nov" or "dec" based on the value of month. (so, if the value of month were 4 then the value of the expression would be "apr", conditional operator so i need to : and ? .(month==1)? "jan": (month==2)? "feb": (month==3)? "mar": (month==4)? "apr": (month==5)? "may": (month==6)? "jun": (month==7)? "jul": (month==8)? "aug": (month==9)? "sep": (month==10)? "oct": (month==11)? "nov": (month==12)? "dec": isn't quite right for the compiler i am currently using.

ansver
Answers: 1

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 15:20
The north and south regions had very diferent economies in the 1800s.
Answers: 1
question
Computers and Technology, 22.06.2019 18:30
The "instance" relationship shows that something is an object of a
Answers: 1
question
Computers and Technology, 23.06.2019 03:00
State 7 common key's for every keyboard
Answers: 1
question
Computers and Technology, 23.06.2019 09:30
Which of the following tasks is an audio technician most likely to perform while working on a nature documentary? (select all that apply). eliminating potentially distracting background noise adding sound effects making sure the lighting is adequate for a particular scene changing the narration to better match the mood of the documentary
Answers: 3
You know the right answer?
Assume that month is an int variable whose value is 1 or 2 or 3 or 5 or 11 or 12. write an expressi...
Questions
question
Mathematics, 14.10.2021 01:00
question
Mathematics, 14.10.2021 01:00
question
Mathematics, 14.10.2021 01:00
Questions on the website: 13722363