Triangle known side length area C language