+ 1

Pls can someone solve this question on Quadratic calculator in C#

solve a comlex quadratcic roots without conditional statement like if and else

8th Apr 2018, 10:22 PM
oluwayelu
oluwayelu - avatar
2 Answers
+ 1
I've managed to do the C# version now: https://code.sololearn.com/cRIEl8m2XjX7/#cs
9th Apr 2018, 1:06 AM
Emma
0
This solves for all three cases of the quadratic equation, without using conditional statements like if and else: 1) Two real roots 2) One real root 3) Two imaginary roots https://code.sololearn.com/c14V34J4FnA8/#c [Note that I don't know C#, but you should be able to do something similar. I solved this in C]. I'm working on the C# version now... shouldn't be too tricky!
9th Apr 2018, 12:24 AM
Emma