import std.stdio, std.string, std.conv, std.algorithm, std.array, std.math;
void main(){
	auto s = readln.split.map!(to!real);
	auto a = s[0]*s[1]*sin(s[2]*PI/180)/2;
	auto b = s[0]+s[1]+sqrt(s[0]^^2+s[1]^^2-2*s[0]*s[1]*cos(s[2]*PI/180));
	auto c = a*2/s[0];
	writefln("%.5f",a);
	writefln("%.5f",b);
	writefln("%.5f",c);
}