My Test case no 0 and 1 are failing

Please check :

hello @rssrivastavarohan
a)image
start i from 1.

b)
image
here it should be if in place of else if

ur updated code->

test case number 5 not working


it is working for all test cases pls try agaim

send my corrected code . Test case no 5 is failing

check my previous response , have already attached ur corrected code

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.