
#include<stdio.h>
#include<math.h>

int main(){
	double a=0,b=0,rad=0;
	int c=0;

	scanf("%lf",&a);
	scanf("%lf",&b);
	scanf("%d",&c);

	rad=c*(M_PI/180);
	printf("%.8lf\n",(a*b*sin(rad))/2);
	printf("%.8lf\n",a+b+sqrt(a*a+b*b-2*a*b*cos(rad)));
	printf("%.8lf\n",b*sin(rad));
	return 0;
}

