import std.stdio, std.math;
void main() {
	real a, b, c;
	"%f %f %f".readf(&a, &b, &c);
	c = c * PI / 180.0L;
	"%.8f".writefln((a * b * sin(c)) / 2.0L);
	"%.8f".writefln(a + b + (a^^2 + b^^2 - 2.0L * a * b * cos(c)).sqrt);
	"%.8f".writefln(b * sin(c));
}