public static void Main()
public static void Main()
Console.WriteLine("adj egy oldalt");
int a = Int32.Parse(Console.ReadLine());
Console.WriteLine("adj még egy oldalt");
int b = Int32.Parse(Console.ReadLine());
Console.WriteLine("adj egy szöget radiánban");
double g = Double.Parse(Console.ReadLine());
double ter = a*b*Math.Sin(g)/2;
double c = Math.Pow(a,2)+Math.Pow(b,2)-2*a*b*Math.Cos(g);
Console.WriteLine("a harmadik oldal hossza " + c);
Console.WriteLine("a terület " + ter);