I am not getting any output can you tell why?
Hey @akash_281
You code had many mistakes ,I updated ur code and mentioned the changes in comments : https://ide.codingblocks.com/s/348491 
Hey @akash_281
You code had many mistakes ,I updated ur code and mentioned the changes in comments : https://ide.codingblocks.com/s/348491 