Assignment: #yyyymmdd Due: 10/08/2017 Points: 3

Prompt the user to enter a date in the YYYYMMDD format. Example: This program is due on 20171008.

Read the user input into a variable.

Print an error message and exit the program if the user enters a negative number.

Split the YYYYMMDD number into its respective YYYY, MM, DD pieces using integer division and the modulus operator. [hint: 20100101 / 10000 = 2010 and 20100101 % 10000 = 101]

Print a line that has the following format.



   20100314 is 3/14/2010
   19571105 is 11/5/1957
   20380118 is 1/18/2038

Important note: Your source code file must contain a file comment block.