cs-basic/Program.cs

3 lines
105 B
C#
Raw Permalink Normal View History

2024-04-15 00:22:15 +02:00
double r = 2.5;
Console.WriteLine($"area of square with radius {r}: {double.Pi * Math.Pow(r, 2)}");