Please help resolve the error in code

hello @pranjuldwivedi120568 i have corrected your code and now it is printing the correct answer .


if you did not understand anything in the code please write here i will expain .
if you feel your doubt is cleared please mark this doubt as resolved .
Happy Learning !!

I saw u updated my start value with max of array that’s ok but how did u resolve no matching function call

. And also in fn canread i gave curr_ min how does that work as it is not initialized before use.