please tell what is the error in my code
this is the link to ide
please tell what is the error in my code
this is the link to ide
@sushreesamapika41
number of books are m, so start should be arr[m-1];
just change line no 39 to int start=arr[m-1];
your code will work
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.