#include <bits/stdc++.h>
using namespace std;
int main(){
long long a,b,c;
cin >> a >> b >> c;
long double arg=c*3.14159265358979/180;
long double S=a*b*sin(arg)/2;
long double L=a+b+sqrt(a*a+b*b-2*a*b*cos(arg));
long double h=b*sin(arg);
cout << fixed << setprecision(30)<< S << " "<<  L << " " << h;
}
