The political party in power wants to ensure his victory in the next elections. Therefore you want to have a database of their supporters to know how many votes have, in addition to generating actions on the day of the election to ensure voting.
The data to be recorded are:
1) No. Voter Registration Card: unique identification of the voter, it consists of 10 numbers.
2) Electoral Section: Identification of the section where the voter lives, consists of 4 numbers
3) Full Name: Paterno + Mother + Name (s)
4) Gender: Male (M) or Female (F)
The Registry will permanently from today until a week before the election.
One day before the election the following reports will be generated
1. A General report of the entire database
2. A report by section, here the system user to capture a section and the list of supporters who live in that section will be printed. This report can also be filtered only by male supporters, only female or all, all of the default option.
Example:
Padron of Section 0810 - Female
Credential Section Full Name Gender
------------------------------------------------------------------------------------------------------------
Consider using the following:
a) functions in a separate file.
b) Managing Text Files.