Why this code is not giving the correct output even though i have dry run it


see your mistakes!