Asks for your full name and ID number. Determines the time right now. It reformats the name. It reformats the date of birth from the ID number. It determines the gender from the ID number. It creates a single output String which it prints to both the monitor and an external file.

The INPUT looks like this . . .

steve eilertsen

1203115756845

The OUTPUT to file (example) looked like this  . . . 

EILERTSEN,S#11 Mar 2012#Male#17:00:16.622 

Here is the question fully explained. This makes an excellent grade 11 practical coding test. Click here

Here is the full answer with the UI class and the manager class. Click here

Note to teachers: It is better to teach learners to write to a file first before teaching how to read from a file.