C Program for Operations on a database
02:25/* Program details:
Various operations like read,insert,delete,print,sort,modify for student database
*/
output :>
1)create
2)insert
3)delete
4)search
5)print
6)Sort
7)Modify
8)Quit
Enter Your Choice:1
Enter No. of student:2
enter data(name rollno marks): ABC 12 78
XYZ 23 89
1)create
2)insert
3)delete
4)search
5)print
6)Sort
7)Modify
8)Quit
Enter Your Choice:2
enter the position(no of records=2):3
enter data(name rollno marks): PQR 16 76
ABC 12 78
XYZ 23 89
PQR 18 76
1)create
2)insert
3)delete
4)search
5)print
6)Sort
7)Modify
8)Quit
Enter Your Choice:3
enter the rollno : 12
XYZ 23 89
PQR 18 76
1)create
2)insert
3)delete
4)search
5)print
6)Sort
7)Modify
8)Quit
Enter Your Choice:4
enter rollno:23
found at location=1
XYZ 23 89
1)create
2)insert
3)delete
4)search
5)print
6)Sort
7)Modify
8)Quit
Enter Your Choice:6
PQR 18 76
XYZ 23 89
1)create
2)insert
3)delete
4)search
5)print
6)Sort
7)Modify
8)Quit
Enter Your Choice:7
Enter the Rollno : 18
enter data(name rollno marks): PQR 18 78
1)create
2)insert
3)delete
4)search
5)print
6)Sort
7)Modify
8)Quit
Enter Your Choice:8
ABC 12 78
XYZ 23 89
PQR 16 76
1)create
2)insert
3)delete
4)search
5)print
6)Sort
7)Modify
8)Quit
Enter Your Choice:8
0 comments: