0
Why is this wrong?
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; //tu cĂłdigo va aquĂ Console.Write("Radius = "); radius = Convert.ToDouble(Console.ReadLine()); Console.WriteLine("{0}",radius); radius *= radius; radius *= pi; Console.WriteLine("Circle Area = {0}",radius); } } }
4 Answers
+ 1
No problem, thank you. I have already solved. It wasn't wrong but the app ask for the exact same and unique code.
0
The excercise gives pi defined.