import Text.Printf

solve :: [Double] -> [Double]
solve [a, b, c] = [area, perimeter, height]
    where
        theta     = pi * c / 180
        height    = b * sin theta
        width     = b * cos theta - a
        area      = a * height / 2
        perimeter = a + b + (sqrt $ height * height + width * width)

main :: IO ()
main = getLine >>= putStr . unlines . map (printf "%.8f") . solve . map read . words