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.
This is not a homework site. We won't do your homework for you. However we are always willing to help solve problems you encountered, correct mistakes you made in your code and answer your questions.
We didn't see your attempts to solve this problem yourself and so we cannot correct mistakes you didn't made and answer questions you didn't ask. To get help you should do something yourself and get real problems with something. If your problem is "I don't understand a thing", then you should go back to basics and study again. As it is impossible to find derivative of function without knowledge in arithmetic, you cannot do more complex tasks in programming without clear understanding of basics