If I had a date entered in the format yyyymmdd how would I use mod division for example on the years, to cut off the mmdd, and so on. I thought it would be easier to use a string with an array but we haven't covered that in class yet.
So if anyone knows how would I write the code for 20061010 and print the 2006, 10, and 10, all individually?