0

# Area of a Circle

I need help pls

18th Mar 2021, 4:00 PM
angelgaleno Galeno
+ 11
18th Mar 2021, 5:28 PM
Alice Petey
+ 3
visph I appreciate your effort for helping everyone. But, we need to see what they have done so far.
18th Mar 2021, 4:07 PM
Shivani 📚✍
+ 1
18th Mar 2021, 4:02 PM
Shivani 📚✍
+ 1
Alice Petey , giving ready answers to the task prevents learners from learning syntaxes & understanding logic & concepts behind the given task. Yes, absolutely agree with you visph.
18th Mar 2021, 6:11 PM
Shivani 📚✍
0
18th Mar 2021, 4:03 PM
visph
0
I just give the circle area formula... I guess that's not the point of the task, as it is a well known formula, even by childs... I rather believe that the point of the task is to apply this formula in a program ^^
18th Mar 2021, 4:14 PM
visph
0
Oh thank you im learning c# but sometimes is very confused
18th Mar 2021, 4:19 PM
angelgaleno Galeno
0
that's why I was trying to help by giving you the mathematic formula, to let you concentrate on code rather on loosing time to get the good maths ;P
18th Mar 2021, 4:22 PM
visph
0
visph Exactly, my point was same as yours. It's a well know formula even with just one Google search we can find it easily. We all stuck at some point while learning. It's just that when we do some research and try to solve with small steps (we learn more) :) 🤷
18th Mar 2021, 4:48 PM
Shivani 📚✍
0
Shivani 📚✍ [Exams] sure, that's why I believe that we must concentrate on coding skills rather on maths skills when learning programation languages ;)
18th Mar 2021, 4:50 PM
visph
0
Alice Petey it would help to solve, but it wouldn't help to learn ^^
18th Mar 2021, 5:31 PM
visph
0
Try 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 radius = Convert.ToDouble(Console.ReadLine()); double area = pi * radius * radius; Console.WriteLine(area); } } }
20th Mar 2021, 3:37 AM
Shobhit :)
- 1
use a circle area equation and mix that with the some input.
20th Mar 2021, 3:13 AM