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

h = b * Math.sin(C / 180.0 * Math::PI)
c = a**2 + b**2 -2 * a * b * Math.cos(C * Math::PI / 180.0)
s = a * h / 2

puts format("%.8f", s)
puts format("%.8f", a + b + c)
puts format("%.8f", h)