#include <bits/stdc++.h>
using namespace std;
int main(){
    cin.tie(0);
    ios::sync_with_stdio(false);
    double a,b,c,C,s;
    cin>>a>>b>>c;
    C=c/180*acos(-1);
    s=a*b*sin(C)/2;
    printf("%.5f\n%.5f\n%.5f\n",s,a+b+sqrt(a*a+b*b-2*a*b*cos(C)),2*s/a);
}
