Question: For C programming!!!! I need help getting my quadratic equation program to display the correct complex roots. when using a = -5, b = 3,

For C programming!!!!

I need help getting my quadratic equation program to display the correct complex roots. when using a = -5, b = 3, c = -4, the answer displays as 0.3+-0.842615i and 0.3-0.842615i with that +- together and I do not understand how to fix it. I also need the code to run again if a user chooses. We have not even gone over this. I currently have the code in switch case. do I need to do something else?

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!