Share with others

Program for Operations on a database without using pointers

 

;i++)>

Output

1)create
2)insert
3)delete
4)search
5)print
6)Sort
7)Modify
8)Quit
Enter Your Choice:1

Enter No. of employees:2

enter data(name code salary): John 1 2000
Jenny 2 3000

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 code salary): Merry 3 5000

John 1 2000
Jenny 2 3000
Merry 3 5000
1)create
2)insert
3)delete
4)search
5)print
6)Sort
7)Modify
8)Quit
Enter Your Choice:3

enter the code : 2

John 1 2000
Merry 3 5000
1)create
2)insert
3)delete
4)search
5)print
6)Sort
7)Modify
8)Quit
Enter Your Choice:4

enter code:3

found at location=2
Merry 3 5000
1)create
2)insert
3)delete
4)search
5)print
6)Sort
7)Modify
8)Quit
Enter Your Choice:5

John 1 2000
Merry 3 5000
1)create
2)insert
3)delete
4)search
5)print
6)Sort
7)Modify
8)Quit
Enter Your Choice:6

John 1 2000
Merry 3 5000
1)create
2)insert
3)delete
4)search
5)print
6)Sort
7)Modify
8)Quit
Enter Your Choice:7

Enter the code : 3

enter data(name code salary): Diya 5 4000

John 1 2000
Diya 5 4000
1)create
2)insert
3)delete
4)search
5)print
6)Sort
7)Modify
8)Quit
Enter the code : 8

 


Share with others