write a program to prompte the user for 2 dates

Project 3 Decision Structures (Chapter 3)

Files to be submitted:

An algorithm – a regular text file

Java Source code – a Java source file

Supporting files if any

Write a program to prompt the user for 2 dates consisting of a month and a year and display the number of years and months between these 2 dates. Either date could be the earlier date.

It is REQUIRED to use the following solution to calculate the difference between two dates that are not in the same year:

1. To calculate a positive year difference and the corresponding month difference,

a. Subtract the earlier year from the later year to get the year difference.

b. Subtract the month associated with the earlier year from the month associated with the later year.

I download the word file on the bottom.

 
Do you need a similar assignment done for you from scratch? We have qualified writers to help you. We assure you an A+ quality paper that is free from plagiarism. Order now for an Amazing Discount!
Use Discount Code "Newclient" for a 15% Discount!

NB: We do not resell papers. Upon ordering, we do an original paper exclusively for you.