Programming-Basics-Book-CSharp-EN icon indicating copy to clipboard operation
Programming-Basics-Book-CSharp-EN copied to clipboard

Logical error line 24

Open BGdaredevil opened this issue 4 years ago • 0 comments

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.

BGdaredevil avatar Aug 06 '21 14:08 BGdaredevil