main menu
| 20 | |
| 21 | // main menu |
| 22 | int menu() |
| 23 | { |
| 24 | printf("Press 1 for insertion\n"); |
| 25 | printf("Press 2 for deletion\n"); |
| 26 | printf("Press 3 for traversing\n"); |
| 27 | printf("Press 4 for linear search\n"); |
| 28 | printf("Press 5 for selection sort\n"); |
| 29 | printf("Press 9 to exit\n"); |
| 30 | scanf("%d", &menuOption); |
| 31 | } |
| 32 | |
| 33 | int menu1() |
| 34 | { |