0

Does anyone know how to code the area of circle?

Its the number 12 question on c# I already tried my best to do it but i still cant.

24th Sep 2021, 9:52 AM
arm kelli
arm kelli - avatar
5 Respuestas
+ 10
Can you share the code you have written (if any) so far.
24th Sep 2021, 9:59 AM
Abhay
Abhay - avatar
+ 7
Yes...me Lothar you too?
24th Sep 2021, 11:14 AM
Oma Falk
Oma Falk - avatar
+ 3
If we will tell you the answer then how will you develop the logic ?
24th Sep 2021, 10:36 AM
Saurabh
Saurabh - avatar
0
I did this 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; //your code goes here double n = (pi*(radius*radius)); Console.Writeline (n); } } }
25th Sep 2021, 4:18 AM
arm kelli
arm kelli - avatar
- 1
Yeah! π*r*r
26th Sep 2021, 7:02 PM
🌀 Shail Murtaza شعیل مرتضیٰ
🌀 Shail Murtaza شعیل مرتضیٰ - avatar