Download Students.Dat
and save it to the WorkArea directory on the drive D:
|
|
|
|
Student Id |
|
|
|
Student Name |
|
||
Surname |
|
|
|
Initials |
|
|
|
DateOfBirth |
|
||
Year |
|
|
|
Month |
|
|
|
Day |
|
|
|
Course Code |
|
|
|
Gender |
|
|
|
A tables based solution is a good idea here. We can use the month
number as a direct index into the month table.
When you have written your program and have compiled it and have it working correctly you may wish to compare it with this sample solution.
WARNING
As always please do not look at the solution until you have finished your own program. At the very least you should make a substantial effort to complete your own attempt at the program before examining the sample solution.
![]() |
![]() |
![]() |
|