hi all~i need help~~

hi all~i am a newbie in using Visual C++. now i need to design a menue system for a customer data base to store ID number and names in a 20-element array; store their balances due in a 20-parallel array.The menu options are as follows:
 Add customers to the database
 Find a customer in the database
 Print the database
 Quit
If the user chooses to print, then print all existing IDs and balances; if there are none, issue a message.

If the user chooses to add customers, allow the user to enter a customer ID, name and balance to the current list, do not let the list exceed 20 customers.

If the user chooses to find a customer, issue a message if there are none, otherwise, provide a second menu with three options – find by ID number, find by balance, or quit.

Every customer has a unique ID number, but there might be several customers with the same balance.

the sample customer list is
There are 5 customer records:
ID Name Balance
11000 Adeline Chai 120.50
11001 Beh Siew Pau 215.05
11002 Azlina Hashim 120.50
11003 Jordan Franxier 26.15
11004 George Lincoln 310.50

how to do this??have any example??
Please note, that this is not a homework site. We won't do your homework for you. The purpose of homework is that you learn by doing. 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.


What is the exact description of the input data format?
i just want to see some example~not asking you all help me do it~its ok~thank~
Topic archived. No new replies allowed.