Hi. I hope someone can help me with this-
First there is a category Human, which has information about name, gender, age and unique ID.
Human shall be saved in a class Town using a table.
The constructor Town(int numberhumans) has parameters, which says the number of humans the town can have (maximum). The program shall let the user do as followed:
- make a Town
- add a Human
- change the information to the Human
- delete the Human
- get out a list with the context
- print the context in Human to a text file
- read the context in Human from a text file
- print the Humans in correct order of age (1,2,3...).
I hope someone can help me :) I really need it...
First there is a category Human, which has information about name, gender, age and unique ID.
Human shall be saved in a class Town using a table.
The constructor Town(int numberhumans) has parameters, which says the number of humans the town can have (maximum). The program shall let the user do as followed:
- make a Town
- add a Human
- change the information to the Human
- delete the Human
- get out a list with the context
- print the context in Human to a text file
- read the context in Human from a text file
- print the Humans in correct order of age (1,2,3...).
I hope someone can help me :) I really need it...
Comment