+ 1

Why this code cause an error?

I want to take int or double input from user and make circumference formula of circle and give this output. https://code.sololearn.com/cTKwrQkLM1cc/?ref=app

11th Aug 2022, 7:10 AM
Aayush Jat
Aayush Jat - avatar
1 ответ
+ 2
You are taking the input as a string and want it as a double. You need to to change/convert the input. Check it out in the C# course. Lesson 5.1.
11th Aug 2022, 7:21 AM
Ausgrindtube
Ausgrindtube - avatar