#include<iostream>
#include<string>
#include<algorithm>
#include <math.h>
#define PI 3.14159265

int main(){
    double a,b,c;
    std::cin>>a>>b>>c;
    double d=sqrt(a*a+b*b-2*a*b*cos(c*PI/180));
    printf("%f\n", a*b*sin(c*PI/180)/2);
    printf("%f\n", a+b+d);
    printf("%f\n", b*sin(c*PI/180));
}

