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
13 Réponses
+ 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 .
+ 1
thank you thank you very much, would you give me some advice
+ 1
Samuels 701 what advise do you need ?
+ 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.
+ 1
Just like the pieces of cake very simple
0
Can you add the code (in description) that you have written so far ?
0
I did not close the test and it was not saved
0
😞
0
ok but you can rewrite it and copy paste it here .
0
Ok
0
const double pi = 3.14;
double radius = 5;
double resultado = pi * radius;
Console.WriteLine(resultado);
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
0
how to improve and progress in programming