¿Como se hace el reto del área de un círculo en c#? | Sololearn: Learn to code for FREE!
Новый курс! Каждый программист должен знать генеративный ИИ!
Попробуйте бесплатный урок
0

¿Como se hace el reto del área de un círculo en c#?

Ya lo intente de esta forma namespace SoloLearn { class Program { static void Main(string[] args) { const double pi = 3.14; double radius; radius = Convert.ToDouble (Console.Readline ("Escribe el radio" ) ) ; Console.WriteLine( pi * radius * radius); } } }

3rd May 2022, 8:42 PM
Luis Fernando Sanchez Barrera
Luis Fernando Sanchez Barrera - avatar
1 ответ
0
It's Console.ReadLine(), there's a typo in your code. https://www.sololearn.com/Discuss/3027361/?ref=app
4th May 2022, 11:36 AM
Lisa
Lisa - avatar