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
task 1
1
Convert String to integer in c#
ReRoute Emails
project euler 13, C#
Caelum
c# piramid yapımı
sdfgtgrfedcdf
Wild West of Meming
axasd