#include <bits/stdc++.h>
using namespace std;


int main(){
    double a,b,c;
    scanf("%lf %lf %lf",&a,&b,&c);
    printf("%.7f\n",a*b*sin(M_PI*c/180)/2);
    printf("%.7f\n",a+b+sqrt(pow(a,2)+pow(b,2)-2*a*b*cos(M_PI*c/180)));
    printf("%.7f\n",b*sin(M_PI*c/180));
}
