What im trying to do is ask the user to enter 8 numbers
and then i want to extract the first four numbers, followed by the next two numbers and finally the last two numbers.
so for example,
user enters 12345678
i display it as
1234
56
78
any help would be appreciated.thanks.
I'm a little bit confused on the month is 56 and day is 78? Also you will probably have to read it into 1 string then parse it or read each digit into a character then output the first 4 for the year , 5-6 as month , and 7-8 as day.