Runtime error i code

https://ide.codingblocks.com/s/152086 This code is showing runtime error

Hi @tanjuljain19,
Please refer to the comment in the following corrected code for your errors.