a, b, r = gets.split(" ").map(&:to_f)
c = Math.sqrt(a ** 2 + b ** 2)
radian = r * Math::PI / 180.0
puts "%.5f"%(0.5 * a * b * Math.sin(radian))
puts "%.5f"%(a + b + c)
puts "%.5f"%(b * Math.sin(radian))