Test case 3 is not passing

what is the error inmy code

hi @dhanu9721

if(sc<ec)

correct condition is if(sc<=ec)

similarly for this
if(sr<er)

correct is if(sr<=er)

i hope this help
if you have more doubts regarding this feel free to ask
if your doubt is resolved mark it as resolved from your doubt section inside your course