0

how to count area of a circle using C#

???

23rd Mar 2022, 12:06 PM
Morning Flower
Morning Flower - avatar
5 odpowiedzi
+ 3
Morning Flower No we don't provide complete code. Show your efforts.
23rd Mar 2022, 1:10 PM
A͢J
A͢J - avatar
0
area = πr²
23rd Mar 2022, 12:26 PM
Simba
Simba - avatar
0
but i need complet c# code
23rd Mar 2022, 12:35 PM
Morning Flower
Morning Flower - avatar
- 1
I am not familiar with the syntax of C# but I am sure that this method will work- radius = input(); area = (22/7)*r*r; print(area) Just convert it to C# syntax and then it will definitely work. Hope it helps!
23rd Mar 2022, 12:32 PM
Arnav Gumber
Arnav Gumber - avatar