Code not running, test cases not passing

Please tell me where am I wrong, using the comments. I am getting area as 0 for the default test case

https://ide.codingblocks.com/s/297148 this is the new link

@namangarg2000
I have fixed the errors and made the required changes please check