Get up to 80 % extra points for free! More info:

Discussion: Solved tasks for C# .NET lessons 1-3

Back

 

Comments
Avatar
Kamal Bello
Member
Avatar
Kamal Bello:7/28/2019 8:32

The first and the second one are all super easy, I got them on my own, but I got resistance by the third one that I had to used some help, thank God I got them all anyway.

 
Reply
7/28/2019 8:32
Avatar
Reply
7/28/2019 13:32
You can walk through a storm and feel the wind but you know you are not the wind.
Avatar
Alex CHERNOV
Member
Avatar
Alex CHERNOV:8/4/2020 17:35

Thank you for these exercises, really interesting. Just please add somewhere information that decimal separator in C# is "." but in the console it is what on windows settings (for example "," in my case). And for last exercise I had to type pi = 3.14 in C# formula but radius R = 12,5 in console (and the result was presented also with ","). Until I changed decimal separator settings in windows to "."

 
Reply
8/4/2020 17:35
Avatar
Arthur Bogdanov:8/31/2020 3:50
  1. in the second task, the hint about a negative number was confusing, because -52=-25, and (-5)^2=25. I thought I should implement the first option.
  2. in the third task, it is not specified that the float type, as well as the accuracy (the number of decimal places of PI), which is why we had to adjust the solution.
 
Reply
8/31/2020 3:50
To maintain the quality of discussion, we only allow registered members to comment. Sign in. If you're new, Sign up, it's free.

4 messages from 14 displayed.