Why i am getting zeroes in the output?

hello @akash_281

ur code is working fine,
make sure u r giving input while executing ur program