Hi everybody.i have a homework and i cant do it.i am waiting your help
In this project you will write your own designed database program. Suppose
that you will write an income program for a family. The family incomes may be
listed as salary of husband and wife, rent incomes from somewhere. Their expenses
can be listed as expenses of kitchen, education, health and holiday. Each family’s
expenses has a different ratio with respect to their incomes, such as kitchen expenses
may be 14% of their whole incomes, education expenses may be 13% of their whole
incomes, health expenses may be 4% of their whole incomes, and holiday expenses
may be 30% of their whole incomes. In your program firstly, you should do the
Assign name and address for each family,
Assign their incomes,
Assign the expenses ratio of their incomes.
Then you should write these data to a binary file from family with a highest income
to the lowest income. And then, you should design a proper menu which performs
Assign data for a new family,
Find a family name from the file showing its net income
Deleting a family data
Seek the Name:
Change Family data
After you quit the program, you should save everything and your file should be
arranged at the beginning style.
In your project, you will not write an income program for a family. This case
is only an example, however, you may write an income program for hospital or a
specific company or a school, a university, you may write student database program
which may involve students midterms, final results, their rations on the final grade.
This project is based on three parts; write a database for something, write this
database to a binary file in a specific order. Create a proper, useful, and nice menu
that allows user different number of choices and and saving everything at the end.