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

Other questions on the subject: Computers and Technology

image
Computers and Technology, 22.06.2019 15:00, nika0001
When designing content as part of your content marketing strategy, what does the "think" stage represent in the "see, think, do, care" framework?
Answers: 3
image
Computers and Technology, 22.06.2019 19:20, SundaeSunday
Consider the following code snippet: #ifndef cashregister_h#define cashregister_hconst double max_balance = 6000000.0; class cashregister{public: cashregister(); cashregister(double new_balance); void set_balance(double new_balance); double get_balance() const; private: double balance[12]; }; double get_monthly_balance(cashregister bk, int month); #endifwhich of the following is correct? a)the header file is correct as given. b)the definition of max_balance should be removed since header files should not contain constants. c)the definition of cashregister should be removed since header files should not contain class definitions. d)the body of the get_monthly_balance function should be added to the header file.
Answers: 1
image
Computers and Technology, 23.06.2019 00:30, devenybates
Which one of the following is the most accurate definition of technology? a electronic tools that improve functionality b electronic tools that provide entertainment or practical value c any type of tool that serves a practical function d any type of tool that enhances communication
Answers: 1
image
Computers and Technology, 23.06.2019 15:00, victordhernandez01
Jake really works well with numbers and is skilled with computers but doesn't work well with others. which of the jobs discussed in this unit might be best for jake? why?
Answers: 3
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 in other subjects: