someone would be so kind to explain to me how the first c # exercise should be done I already tried everything | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

someone would be so kind to explain to me how the first c # exercise should be done I already tried everything

so far I am learning to program

24th Jun 2021, 6:57 PM
Samuels 701
Samuels 701 - avatar
13 Answers
+ 4
You need to take user input . sololearn test cases will then test your code for different values. And area for circle is pi*radius*radius. Edit: no need to give radius a value of 5 . sololearn will do that for you . Just take user input .
24th Jun 2021, 7:24 PM
Abhay
Abhay - avatar
+ 1
thank you thank you very much, would you give me some advice
24th Jun 2021, 7:27 PM
Samuels 701
Samuels 701 - avatar
+ 1
Samuels 701 what advise do you need ?
24th Jun 2021, 8:04 PM
Abhay
Abhay - avatar
+ 1
Samuels 701 You can open up a new question about it and you will get much better answer and that too from some experienced guys or those working as a programmer unlike me. Also make use of search bar before asking a new question.
24th Jun 2021, 8:59 PM
Abhay
Abhay - avatar
+ 1
Just like the pieces of cake very simple
26th Jun 2021, 7:36 AM
Abdulhakim Sani
Abdulhakim Sani - avatar
0
Can you add the code (in description) that you have written so far ?
24th Jun 2021, 7:04 PM
Abhay
Abhay - avatar
0
I did not close the test and it was not saved
24th Jun 2021, 7:06 PM
Samuels 701
Samuels 701 - avatar
0
😞
24th Jun 2021, 7:07 PM
Samuels 701
Samuels 701 - avatar
0
ok but you can rewrite it and copy paste it here .
24th Jun 2021, 7:12 PM
Abhay
Abhay - avatar
0
Ok
24th Jun 2021, 7:13 PM
Samuels 701
Samuels 701 - avatar
0
const double pi = 3.14; double radius = 5; double resultado = pi * radius; Console.WriteLine(resultado);
24th Jun 2021, 7:17 PM
Samuels 701
Samuels 701 - avatar
0
The problem is that I do not know how to answer the questions, because I answer one but I have the others and I do not honestly know how to solve this exercise
24th Jun 2021, 7:18 PM
Samuels 701
Samuels 701 - avatar
0
how to improve and progress in programming
24th Jun 2021, 8:21 PM
Samuels 701
Samuels 701 - avatar