function Main(input) {
  input = input.split("\n");
  var m = input[0].split(" ");
  var a = parseInt(m[0], 10), b = parseInt(m[1], 10), c = parseInt(m[2], 10);
  console.log(a * b * Math.sin(c * Math.PI / 180) / 2);
  console.log(a + b + Math.sqrt(a * a + b * b - 2 * a * b * Math.cos(c * Math.PI / 180)));
  console.log(b * Math.sin(c * Math.PI / 180));
}

Main(require("fs").readFileSync("/dev/stdin", "utf8"));