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

Area of circle

By using instant method

22nd Feb 2021, 3:01 PM
ICSE LEARNING
ICSE LEARNING - avatar
3 Answers
+ 1
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) { const double pi = 3.14; double radius; double area; //your code goes here radius = Convert.ToDouble(Console.ReadLine()); Console.WriteLine(pi*radius*radius); } } } Hope, this will help you.
13th Sep 2021, 11:56 AM
Brigido bergado jr
Brigido bergado jr - avatar
+ 1
Copy this and like my answer please and check
13th Sep 2021, 11:56 AM
Brigido bergado jr
Brigido bergado jr - avatar
0
get it's pi*r²
22nd Feb 2021, 7:12 PM
Michal Doruch