# pseudocode

Create a class named Year that contains data fields to hold the number of months in a year and the number of days in a year. Include a constructor that sets the number of months to 12 and the number of days to 365, and get and set methods for each field.

b. Design an application that instantiates one object of each class and displays all the data.

## Similar Questions

1. ### Programming Logic and Design

Create a class named Year that contains data fields to hold the number of months in a year and the number of days in a year. Include a constructor that sets the number of months to 12 and the number of days to 365, and get and set
2. ### programming

Design a class named Book that holds a stock number, author, title, price, and number of pages for a book. Include a method that sets all the data files and another that prints the values for each data field. Create the class
3. ### Math

How can I figure the number of days from one date to another? Example: How many days are from June 21 to Sept. 23? I need to do this without using a calendar. The first thing you need to know is the number of days in each month.
4. ### math

The data shows the total number of employee medical leave days taken for​ on-the-job accidents in the first six months of the​ year:19​, 10, 26​, 12​, 28​, 19. Find the mean number of days taken for medical leave each
5. ### Algebra 2

Question is about Step Functions:(between" " are all floor functions. The formula W=d+2m+"(3(m=1)/5)"+y+"y/4" -"y/100" + "y/400" + 2 gives the day of the month of the given date; m = the number of the month in the year with
6. ### Math

The data shows the total number of employee medical leave days taken for on-the-job accidents in the first six months of the year: 16, 7, 23, 9, 25, 16. Find the standard deviation.
7. ### C#

The Peterman Publishing Company has decided that no published book should cost more than 10 cents per page. Create a BookException class whose constructor requires three arguments: a string Book title, a double price and an int
8. ### Math

what is the mean number of days per month among all months in the year 2018?