include Math
a, b, c = gets.chomp.split(" ").map(&:to_f)
data = []
radian = (c / 180 * PI)
h = b * sin(radian)
s = a * h * 0.5
l = a + b + sqrt(a**2 + b**2 - 2 * a * b * cos(radian))
puts s.round(5), l.round(5), h.round(5)