0
Circumference and Area of circle
Plz send me fast
2 ответов
+ 3
perfect answer
+ 2
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace SoloLearn
{
class Program
{
static void Main(string[] args)
{
double r=Convert.ToDouble(Console.ReadLine());
double area=3.14159265*r*r;
double circu=3.14159265*2*r;
Console.WriteLine("area=" + area );
Console.WriteLine("circumference=" + circu);
}
}
}