Expedition code

line 77
what is function of continue here.
we can also use return here why we have used continue.

Hello @officialharshit1996 continue means that if you have encountered any condition then we dont want perform annything there but you shold check for the next possible operations if they give the result whereas if you will use return then whnenver that condition will be encountered then it will not check further rather it will start returning from to the function from where there was call to it.
if you have any doubt you can ask here
Happy Learning!!

see the code, expedition code(hard) in course , if flag==1 i dont want to continue iam just printing answer, we can also use return there,please see the code

Hello @officialharshit1996 i am not saying this is wrong in your code you have asked what is continue thats why i have tols you that .

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.