19th Mar 2022, 9:29 AM
Lalala
Lalala - avatar
5 Answers
0
FF9900 " Console doesn't contain a deflation for ToDouble " it gives this error when I run the code
19th Mar 2022, 10:11 AM
Lalala
Lalala - avatar
0
Console class has ReadLine, WriteLine methods for console related operations. Convert class has methods to convert from string to primitive types toInt, toDouble, ... That's what @FF9900 telling..
19th Mar 2022, 11:14 AM
Jayakrishna 🇼🇳
0
double radius = Convert.ToDouble(Console.ReadLine()) ;
21st Mar 2022, 7:28 PM
Jackie
Jackie - avatar