subject
Computers and Technology, 08.11.2019 04:31 Crxymia

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"
again, 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 16:30
Which of the following statements best describes it careers?
Answers: 2
question
Computers and Technology, 23.06.2019 09:30
Write a function called checkfactor that takes two arrays of positive numbers, firstnumberrow and secondnumberrow. checkfactor checks if the first entry in firstnumberrow is divisible by the first entry in secondnumberrow, and performs the same operation on the next array elements until all entries have been checked. all the numbers are positive and the number of entries in the arrays are the same. the function should return the identified divisible numbers in two row arrays named firstdivisible and seconddivisible.restrictions: branches or loops should not be used. the code must use the internal mod and logical functions.hint: the mod function should be used to determine if two numbers are divisible. ex: for num1 and num2 if mod(num1,num2) is 0, then the two numbers are divisible.this is matlab
Answers: 2
question
Computers and Technology, 23.06.2019 12:00
If you're using an existing powerpoint presentation that will receive new slides based on a word outline, select the a. slide that will appear after the new slides. b. first slide in the presentation. c. slide that will appear before the new slides. d. last slide in the presentation.
Answers: 2
question
Computers and Technology, 23.06.2019 12:00
What does the level 1 topic in a word outline become in powerpoint? a. first-level bullet item b. slide title c. third-level bullet item d. second-level bullet item
Answers: 1
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
Biology, 30.11.2020 20:10
question
Mathematics, 30.11.2020 20:10
question
Mathematics, 30.11.2020 20:10
question
Computers and Technology, 30.11.2020 20:10
question
Social Studies, 30.11.2020 20:10
Questions on the website: 13722367