#include<stdio.h> #include<math.h> int main() { int a,b,c; double area,s; scanf("%d %d %d",&a,&b,&c); area=0.5*a*b+b*b+b*c; printf("Total area = %0.2lf\n",area); return 0; }
No comments