Question: Write a program which should store 20 book codes in an integer array called books. Arrange book codes using a function sort books. Create a
Write a program which should store 20 book codes in an integer array called books. Arrange book codes using a function sort books. Create a function search Book that should take book array, book code and number of books as arguments then search book code in the array and print Found book on the screen otherwise print Book not found on the screen.
Create a menu, as given below, which should use above functions to perform selected action from the given menu on the screen
1-Add book code
2- Display book codes
3-Delete book code
4- Search book Code
5- Arrange book code
6- Exit
Step by Step Solution
3.60 Rating (150 Votes )
There are 3 Steps involved in it
include stdioh void Arrange int C long int b for int I 0 I C 1 I for int j I 1 j C j if b I b j long ... View full answer
Get step-by-step solutions from verified subject matter experts
