By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
432,548 Members | 1,735 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 432,548 IT Pros & Developers. It's quick & easy.

Quadratic equation

P: 2
Can anyone tell me how to write a program to find the roots of the quadratic equation using switch case.
Feb 28 '07 #1
Share this Question
Share on Google+
5 Replies


Expert 100+
P: 1,510
Can anyone tell me how to write a program to find the roots of the quadratic equation using switch case.
do you have the algorithm to solve the roots? do you need to take account of complex roots? post the code you have so far.
Feb 28 '07 #2

P: 2
do you have the algorithm to solve the roots? do you need to take account of complex roots? post the code you have so far.
I want the full program. there are three roots ie repeated roots,real roots and complex roots. can u pls give me the full program.
Mar 1 '07 #3

Ganon11
Expert 2.5K+
P: 3,652
The experts on this site are more than happy to help you with your problems but they cannot do your assignment/program for you. Attempt the assignment/program yourself first and post questions regarding any difficulties you have or about a particular function of the code that you don't know how to achieve.

Please read the Posting Guidelines and particularly the Coursework Posting Guidlines.

Then when you are ready post a new question in this thread.

MODERATOR
Mar 1 '07 #4

P: 84
I want the full program. there are three roots ie repeated roots,real roots and complex roots. can u pls give me the full program.
I have made a program like this when i was a starter and i liked it because it was working great. I can give you the full program when you want it. Send me an email and i will answer in no time. <email removed>
Mar 3 '07 #5

P: 1
hey there,
i have this program that solves quadratic equations and even gives complex roots. hopefully it will help
u are welcome :)

<Full coded solution has been removed. Please see moderator's response above.>
Mar 4 '07 #6

Post your reply

Sign in to post your reply or Sign up for a free account.