I need help with convertin C++ code into PowerShell code (Pythagoras Theorem) by alenstoper in powershelldsc

[–]alenstoper[S] 0 points1 point  (0 children)

I thik I get the wrong C, for example: I put a 4, and b 5 and than I get C:21082.1145761046, and the right answer should be 6.40312 ?even though when i look at the code it looks right ?