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

const double pi=acos(-1);

int main(){
    double a,b,c;
    cin>>a>>b>>c;
    c*=pi/180;
    double l=sqrt(a*a+b*b-2*a*b*cos(c));
    double h=b*sin(c);
    double s=a*h/2;
    printf("%.10f\n%.10f\n%.10f\n",s,l+a+b,h);
}
