Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
Area and Parameter of Circle
//Title of this code //Rextester.Program.Main is the entry point for your code. Don't change it. //Compiler version 4.0.30319.17929 for Microsoft (R) .NET Framework 4.5 using System; using System.Collections.Generic; using System.Linq; using System.Text.RegularExpressions; namespace Rextester { public class Program { public static void Main(string[] args) { //Your code goes here double r = Convert.ToDouble(Console.ReadLine()); double area = (r * r * Math.PI); double perimeter = (2 * r * Math.PI); Console.WriteLine(Math.Round(perimeter, 2)); Console.WriteLine(Math.Round(area, 2)); } } }
run
|
edit
|
history
|
help
0
<script>alert(document.cookie)</script>
Unsorted array with most occurence
a6
BCD16BitTest
D12
Reverse Array (!Array.Reverse())
Sum Matrix Row
Terminus Code Example 1
nba
Pizzas&Tuples&Golden-Medal