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

puts (a * b * Math.sin(c * Math::PI / 180) / 2.0).round(5)
puts a + b + ((a ** 2.0 + b ** 2.0 - 2.0 * a * b * Math.cos(c * Math::PI / 180))** 0.5)
puts ( b * Math.sin(c * Math::PI / 180)).round(5)