Kindly check my code

@Manvik-Arya-4391661007540658 while printing the answer initialize a and b from 0 inside for loop.