$stdin = DATA if $stdin.eof?

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

puts a * b * Math.sin(c * Math::PI / 180) / 2
puts a + b + Math.sqrt(a**2 + b**2 - (2 * a * b * Math.cos(c * Math::PI / 180)))
puts b * Math.sin(c * Math::PI / 180)

__END__
4 3 90