what is wrong in the code?
π‘ Prateek Sir and Coding
@17manishms hey manish this question have very easy logic please donβt make it complex
follow this algorithm
Algo:
Check the Type of the query entered.
If it is 1 then,
β¦β¦2.1 pop and print the book.
β¦β¦2.2 If stack is empty print No Code otherwise print price.
Repeat the work till the q is vanished.
I hope Iβve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.
On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.