[Solved] Using C# language, if(NegativeValue < 0) returns 'false' rather 'true' [closed]


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.

solved Using C# language, if(NegativeValue < 0) returns 'false' rather 'true' [closed]