subject

A. design an application in which the number of days for each month in the year is stored in an array. (for example, january has 31 days, february has 28, and so on. assume that the year is not a leap year.) display 12 sentences in the same format for each month; for example, the sentence displayed for january is month 1 has 31 days. b. modify the months and days program to contain a parallel array that stores month names. display 12 sentences in the same format; for example, the first sentence is january has 31 days. c. modify the months and days program to prompt the user for a month number and display the corresponding sentence, for example, january has 31 days. d. prompt a user to enter a birth month and day, and continue to prompt until the day entered is in range for the month. compute the days numeric position in the year. (for example, february 2 is day 33.) then, using parallel arrays, find and display the traditional zodiac sign for the date. for example, the sign for february 2 is aquarius.

ansver
Answers: 2

Another question on Computers and Technology

question
Computers and Technology, 21.06.2019 19:40
Consider the following generator matrix: g= (1 0 0 0 1 0 0 0 1 1 1 1 1 0 1 1 1 0) find all the codewords generated by this generator matrix. determine the number of errors that this code will detect. determine the number of errors that this code will correct. prove that a linear code's minimum weight is equivalent to its minimum distance. that is, where c is a linear code, dist(c) = wh(c)
Answers: 1
question
Computers and Technology, 22.06.2019 18:30
Which of the following commands is more recommended while creating a bot?
Answers: 1
question
Computers and Technology, 23.06.2019 20:30
What is the biggest difference between section breaks and regular page breaks
Answers: 1
question
Computers and Technology, 24.06.2019 12:30
Why does the pc send out a broadcast arp prior to sending the first ping request
Answers: 1
You know the right answer?
A. design an application in which the number of days for each month in the year is stored in an arra...
Questions
question
Mathematics, 02.04.2020 03:05
question
Mathematics, 02.04.2020 03:05