a, b, c_theta = gets.split.map(&:to_i)

# surface
s = a * b * Math.sin(c_theta / 180.0 * Math::PI) / 2.0
puts s

# length in the circle
c = (a ** 2 + b ** 2 - 2 * a * b * Math.cos(c_theta / 180.0 * Math::PI)) ** (1/2.0)
puts a + b + c

# height h
h = b / Math.sin(c_theta / 180.0 * Math::PI)
puts h

