Search and Sort in a Simple Database
Posted on 2004-11-16
Hello to anybody, I need help on creating a program that allowed the user to search or sort on a database on student information.
In this program each stduent has fields: name, student ID, phone number, and grade
-name field has student's last and first names
-student ID had five digits from 0 to 9
- phone number has 10 characters
-grade is an integer between 0 to 99
What the problem is that how will I create a string array or a multiarray string that allows the user's to search the database by student's name, studend ID, phone number or grade and sort the database by any of the four fields upon the user's choice then prints out all the records in the database in database in Ascending order.
I am not sure if I am clear enough on my question but if there is anything unclear please let me know. thank you