Can you please help me in finding the loop hole where my code can give run time error
Run time error in case 0
Hi @7nishit,
Change the value of MAX which u have defined as 500 to 1000.
Rest of ur code is fine.
Hope this resolve ur doubt.
Thanks, it worked 