import math



a, b, degC = [ float( i ) for i in input( ).split( " " ) ]

radC = degC*math.pi/ 180.0

h = math.sin( radC ) * b

S = (a*h)/2

x = math.cos( radC ) * b

x -= a

c = math.sqrt(  x**2 + h**2  ) 

L = a + b + c



print( S )

print( L )

print( h )
import math



a,b,C= [ float( val ) for val in input().split( ' ' ) ]

radiansC = math.radians(C)

h = math.sin(radiansC)*b

S = (a*h)/2

c = math.sqrt( a*a+b*b-2*a*b*math.cos(radiansC) )

L = a+b+c

print( S )

print( L )

print( h )

import math

a, b, degC = [float(i) for i in input().split(" ")]
radC = degC * math.pi / 180.0
h = math.sin(radC) * b
S = (a * h) / 2
x = math.cos(radC) * b
x -= a
c = math.sqrt(x**2 + h**2)
L = a + b + c
print(S)
print(L)
print(h)

import math

a, b, C = [float(val) for val in input().split(" ")]
radiansC = math.radians(C)
h = math.sin(radiansC) * b
S = (a * h) / 2
c = math.sqrt(a * a + b * b - 2 * a * b * math.cos(radiansC))
L = a + b + c
print(S)
print(L)
print(h)

-a, b, degC = [float(i) for i in input().split(" ")] -radC = degC * math.pi / 180.0 -h = math.sin(radC) * b +a, b, C = [float(val) for val in input().split(" ")] +radiansC = math.radians(C) +h = math.sin(radiansC) * b -x = math.cos(radC) * b -x -= a -c = math.sqrt(x**2 + h**2) +c = math.sqrt(a * a + b * b - 2 * a * b * math.cos(radiansC))