help me with the area of circle program in c# | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
- 1

help me with the area of circle program in c#

expected input aa radius is 5 and output is 78.5

12th Sep 2021, 6:34 PM
Divesh Patil
1 Answer
+ 7
Please show your attempt... steps: 1. take radius as input 2. formula for radius of circle is (area of circle = pi * r*r), either you can multiply with 3.14 or you can use library function 3. store this multiplication in a variable 4. print the value of variable .
12th Sep 2021, 6:38 PM
Rupali Haldiya
Rupali Haldiya - avatar