#include<iostream>
#include<cmath>
#include<cstdio>
using namespace std;

int main(){
  double a, b, C;
  double S, L, h;
  double PI=acos(-1);

  cin >> a >> b >> C;

  S=0.5*a*b*sin(C*PI/180);
  L=a+b+sqrt(a*a+b*b-2*a*b*cos(C*PI/180));
  h=S*2/a;

  printf("%lf\n%lf\n%lf\n", S, L, h);

  return 0;
}