i am getting segmentation fault with https://ide.codingblocks.com/s/242824 i need help
You need to follow the following algorithm: