having problem in code dont know where i am going wrong -
link - https://ide.codingblocks.com/s/36006
Formula being assigned to ams is wrong