#include <stdio.h>#include <math.h>int main (){int a,b,c,s;double x;scanf ("%f%f%e",b,c,x);a=sqrt(b*b+c*c-2*b*c*cos(x*3.14/180));s=b*c*sin(x*3.14/180)*0.5;printf ("a=%d,s=%d\n",a,s);return 0;}