C# program to calculate the area and circumference of a circle
Program.cs
Output
kodingwindow@kw:~/csharp$ dotnet run ——————————————————————————————————————————— Program to calculate the area and circumference of a circle ——————————————————————————————————————————— Enter the radius of a circle 10 The area of a circle is 314 when radius is 10 The circumference of a circle is 62.8 ——————————————————————————————————————————— kodingwindow@kw:~/csharp$
What Next?
C# program to find the size of data types
C# program to find the range of data types
C# Control Statements
Advertisement