issues
search
SoftUni
/
Programming-Basics-Book-CSharp-EN
Textbook for the "Programming Basics" course @ SoftUni (C#, English)
https://csharp-book.softuni.org
Other
74
stars
180
forks
source link
Logical error line 24
#5
Open
BGdaredevil
opened
3 years ago
BGdaredevil
commented
3 years ago
Link to the File
https://github.com/SoftUni/Programming-Basics-Book-CSharp-EN/blob/master/Content/Chapter-7-1-complex-loops/do-while-loop/do-while-loop.md#example-calculating-factorial
Description --- we are to decrement the value (n--) <=> (n-1), however it is written that we decrease by -1 => (n - (-1)) = n+1
Current (Wrong) Text We decrease the value of n by -1.
Corrected (New) Text We decrease the value of n by 1.
Link to the File https://github.com/SoftUni/Programming-Basics-Book-CSharp-EN/blob/master/Content/Chapter-7-1-complex-loops/do-while-loop/do-while-loop.md#example-calculating-factorial
Description --- we are to decrement the value (n--) <=> (n-1), however it is written that we decrease by -1 => (n - (-1)) = n+1
Current (Wrong) Text We decrease the value of n by -1.
Corrected (New) Text We decrease the value of n by 1.