#include<stdio.h> #include"math.h"
int main() { int a,b,c; float d,p,s; scanf("%d %d %d",&a,&b,&c); d=a+b+c; p=d/2; s=sqrt(p*(p-a)(p-b)(p-c)); printf("circumference=%.2f area=%.2f",d,s); return 0; }
#include<stdio.h> #include"math.h"
int main() { int a,b,c; float d,p,s; scanf("%d %d %d",&a,&b,&c); d=a+b+c; p=d/2; s=sqrt(p*(p-a)(p-b)(p-c)); printf("circumference=%.2f area=%.2f",d,s); return 0; }