Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

DB2 Universal Database V7.1 Application Development Certification Guide

Authors: Steve Sanyal, David Martineau, Kevin Gashyna, Michael Kyprianou

1st Edition

0130913677, 978-0130913678

More Books

Students also viewed these Databases questions

Question

What were your most important educational experiences?

Answered: 1 week ago

Question

Which personal relationships influenced you the most?

Answered: 1 week ago