Code didn't pass 1 test case
still didn’t get accepted
remove that whole if(d ==0 ) part from your code and then try again
now its working fine… thanks
1 Like
ok good.Mark this doubt as resolved if you don’t have any further queries.