+ 1
Why this code is not correct? Area of a Circle
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 string str = Console.ReadLine(); radius = Covert.ToDouble(str); radius *= radius; double area = pi * radius; Console.WriteLine(area); } } }
4 Réponses
+ 5
You misspelled "Convert"
+ 1
To find of area Circle
+ 1
Oh.. Thank you very much!
0
What is your task here?