My code is not working please help https://ide.codingblocks.com/s/142556


my code is not working please help

Your code is perfectly submitted, There were minor changes, as in line no 28, take the loop from 0 to n, and in line no 48, no need of space .
Kindly refer to edited code,