pseudocode
posted by Wayne .
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.
Respond to this Question
Similar Questions

Math
How can I figure the number of days from one date to another? 
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 diagram … 
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 January … 
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 number … 
Math
The data shows the total number of employee medical leave days taken for onthejob accidents in the first six months of the year: 16, 7, 23, 9, 25, 16. Find the standard deviation. 
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 … 
Algebra
I need help with this problem. A class of 32 students was made up of people who were all 18, 19, and 20 year olds. The average of their ages was 18.5. How many of each age were in the class if the number of 18 year old was six more … 
MATH HELP
Maggie and her friends are each able to recruit a certain number of people each year to sample a product. The number of people per year is represented by the function f(t) = 3(2)t. What does the t represent? 
math
The data shows the total number of employee medical leave days taken for onthejob 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 month 
Program Design and Development
Help on Design a class named Book that holds a stock number, author, title, price, and number of pages for a book. Include methods to get and set the values for each data field. Write the pseudocode that defines the class?