i am unable to print the desired output. https://ide.codingblocks.com/s/58825
Hii Himanshu, In line 21 in your code print row instead of val.