This document provides instructions for writing functions to: (i) write records for 10 books to a binary file called "book.bin", (ii) read and display details of a book based on the book name entered by the user, and (iii) count and display the number of books with a price over 1000 but under 2000.
This document provides instructions for writing functions to: (i) write records for 10 books to a binary file called "book.bin", (ii) read and display details of a book based on the book name entered by the user, and (iii) count and display the number of books with a price over 1000 but under 2000.
This document provides instructions for writing functions to: (i) write records for 10 books to a binary file called "book.bin", (ii) read and display details of a book based on the book name entered by the user, and (iii) count and display the number of books with a price over 1000 but under 2000.
1. Consider a binary “book.bin” in which record of book(book_no ,
bookname ,author_name ,price) is to be written , write functions to:
(i) To write record of record of 10 books in the binary file
(ii) To read and display only those detail of book as per the book name entered by user. (iii) To count and display no. of books having price more than 1000 but less than 2000.