- 1
help me with the area of circle program in c#
expected input aa radius is 5 and output is 78.5
2 Answers
+ 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
.