from math import *

a,b,C=map(int,input().split())

C=C*pi/180

S=a*b*sin(C)/2

print(S,a+b+(a*a+b*b-2*a*b*cos(C))**0.5,2*S/a,sep='\n')

import math

a,b,C=map(int,input().split())

C=C*math.pi/180

S=a*b*math.sin(C)/2

print(S,a+b+(a*a+b*b-2*a*b*math.cos(C))**0.5,2*S/a,sep='\n')

from math import *

a, b, C = map(int, input().split())
C = C * pi / 180
S = a * b * sin(C) / 2
print(S, a + b + (a * a + b * b - 2 * a * b * cos(C)) ** 0.5, 2 * S / a, sep="\n")

import math

a, b, C = map(int, input().split())
C = C * math.pi / 180
S = a * b * math.sin(C) / 2
print(S, a + b + (a * a + b * b - 2 * a * b * math.cos(C)) ** 0.5, 2 * S / a, sep="\n")

-from math import * +import math -C = C * pi / 180 -S = a * b * sin(C) / 2 -print(S, a + b + (a * a + b * b - 2 * a * b * cos(C)) ** 0.5, 2 * S / a, sep="\n") +C = C * math.pi / 180 +S = a * b * math.sin(C) / 2 +print(S, a + b + (a * a + b * b - 2 * a * b * math.cos(C)) ** 0.5, 2 * S / a, sep="\n")