Output correct yet test case failing


in the above code output is coming correct yet test cases are failing

hello @akshatkaush
add endl in line 22.