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