#Sales Offer!| Get upto 25% Off:

Dates Use some of the previous algorithms (Leap, Days) and create:

a. Valid, an algorithm to test whether a given date Year, Month, Day is a valid date.

b. UnDate, an algorithm to convert a Julian date Julian,Year back into the Gregorian form Day, Month, Year.

c. DaysLived, an algorithm to determine the number of days a person has lived, from the birth date to the present date.

d. Age, an algorithm to determine the (integer) age of a person.

e. WeekDate, an algorithm to determine the weekday a given date falls on, when given that the first day of the year falls on the Wth day (where W = 0 for Sunday, W = 1 for Monday, … and W = 6 for Saturday). f. FirstDate, an algorithm to determine the weekday of New Year’s Day, given the year Y. Use the fact that January 1, 1901 was a Tuesday (W = 2). Notice that a year of 365 days has exactly 52 weeks plus one day (i.e. 52 ´ 7 = 364).

Found something interesting ?

• On-time delivery guarantee
• PhD-level professional writers
• Free Plagiarism Report

• 100% money-back guarantee
• Absolute Privacy & Confidentiality
• High Quality custom-written papers

Related Model Questions

Feel free to peruse our college and university model questions. If any our our assignment tasks interests you, click to place your order. Every paper is written by our professional essay writers from scratch to avoid plagiarism. We guarantee highest quality of work besides delivering your paper on time.

Grab your Discount!

25% Coupon Code: SAVE25
get 25% !!