[ad_1]
The result of Math.Sqrt will never be negative: the result will will be >= 0, NaN, or +Inf.
Check the actual value of Disc after the evaluation.
[ad_2]
solved Using C# language, if(NegativeValue < 0) returns 'false' rather 'true' [closed]
[ad_1]
The result of Math.Sqrt will never be negative: the result will will be >= 0, NaN, or +Inf.
Check the actual value of Disc after the evaluation.
[ad_2]
solved Using C# language, if(NegativeValue < 0) returns 'false' rather 'true' [closed]