Var a, b, c, alpha, betta, gamma, h, S, P, m, k,radalpha,bettarad,gammarad:real;
begin
read(c);
read(h);
read(alpha);
radalpha:= alpha/180*pi;
S:=h*c/2;
writeln(S);
b:=h/sin(radalpha);
writeln(b);
a:=sqrt(sqr(b)+sqr(c)-2*a*b*cos(radalpha));
writeln(a);
P:=a+b+c;
writeln(p);
bettarad:=arcsin(sin(radalpha)/a*b);
betta:=bettarad/pi*180 ;
writeln(betta);
gammarad:=arcsin(sin(radalpha)/a*c);
gamma:=gammarad/pi*180;
writeln(gamma);
end.