program triangleSideC;
vara, b, alpha, c: real;
beginwrite('Enter the value of side a: ');readln(a);
write('Enter the value of side b: ');readln(b);
write('Enter the value of angle alpha in degrees: ');readln(alpha);
c := sqrt(aa + bb - 2abcos(alphaPI/180));
writeln('The length of side c is: ', c:0:2);end.
program triangleSideC;
var
a, b, alpha, c: real;
begin
write('Enter the value of side a: ');
readln(a);
write('Enter the value of side b: ');
readln(b);
write('Enter the value of angle alpha in degrees: ');
readln(alpha);
c := sqrt(aa + bb - 2abcos(alphaPI/180));
writeln('The length of side c is: ', c:0:2);
end.