Circumference and Area of circle | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Circumference and Area of circle

Plz send me fast

13th Oct 2016, 2:27 PM
Aswin raj
Aswin raj - avatar
2 Answers
+ 3
perfect answer
13th Oct 2016, 8:09 PM
Maduekwe Ebuka Collins
Maduekwe Ebuka Collins - avatar
+ 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); } } }
13th Oct 2016, 6:14 PM
alireza
alireza - avatar