Here goes my code -->
Hey @Arnav7 Mentioned the changes in comments : https://ide.codingblocks.com/s/370428
thanks for helping me …