What am i doing wrong here? Im supposed to calculate the area of a circle, with the input being the radius of the circle. | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

What am i doing wrong here? Im supposed to calculate the area of a circle, with the input being the radius of the circle.

https://code.sololearn.com/cO50YAHI3bI8/?ref=app

29th Sep 2022, 7:33 AM
sssharks
sssharks - avatar
1 Answer
+ 1
Try it var radius =Convert.ToDouble(Console.ReadLine());
29th Sep 2022, 8:37 AM
ALI Moussa Kadjalla
ALI Moussa Kadjalla - avatar