Dear Bhai jan mujhe yeh program jaldi se bana dain plz
Step1. Creat an object for the class
Step2. Declare the variable for the author,title and publisher and the variable for the price and stock position.
Step3. Read the number of records.
Step4. Display a menu with the following choice. create,by books, transactions and display.
Step5. Using switch case execute the statement corresponding to the choice
Step6. If the choice is creat read the title,author,publisher,price and stock position and pass it to the constructor of the book class.
Step7. If the choice is by book read the title,author,stock from the user and chek these with the array already created.
Step8. If the author name and title matches than display the message "available" and read the number of copies.
Step9. Decrement the stock position by one and display the month to be paid. increament successful transaction by one. Else display "not success" and increament the unsuccessfull transaction by one.
Step10. If the transaction; display the variables,successful tranaction and unsuccessful tranaction.
Step11. If the Choice is display,then display all the details such as title,author,price,publisher and stock position;
Bookmarks