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

rad_c = Float(c) / 180 * Math::PI
s = 0.5 * a * b * Math.sin(rad_c)
puts format("%.6f", s)

c = Math.sqrt(a * a + b * b - 2 * a * b * Math.cos(rad_c))
puts format("%.6f", a + b + c)

h = 2 * s / a
puts format("%.6f", h)

