def rad(deg)
    return deg * Math::PI / 180.0 
end

def deg(rad)
    return rad  * 180.0 / Math::PI
end

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

S = a * b * Math.sin(rad(c)) * 0.5
L = a + b + Math.sqrt(a**2 + b**2 - 2*a*b * Math.cos(rad(c)))
h = 2.0 * S / a

puts "#{S} #{L} #{h}"
