Regarding this program

sir can you check why its failing on two test case