Discover > Answered Question
![]() |
Please HELP ME!!! writing a C program....?
Asked by: EngrWakoko
from -
|
I have an assignment about this.. please help..
The solutions to a quadratic equation ax²+bx+c=0 can be found by the following formula:
x= (-b± √(b^2-4ac))/2a
Note that no real solutions exist if the b²-4ac is less than 0, and that only one solution exists if b²-4ac is 0. Write a program to implement this formula and solve for the solutions of a quadratic equation. The program should report only the real solutions(s).
Thank you very much in advance!!!!!
The solutions to a quadratic equation ax²+bx+c=0 can be found by the following formula:
x= (-b± √(b^2-4ac))/2a
Note that no real solutions exist if the b²-4ac is less than 0, and that only one solution exists if b²-4ac is 0. Write a program to implement this formula and solve for the solutions of a quadratic equation. The program should report only the real solutions(s).
Thank you very much in advance!!!!!
No Clarification Requests
Answer
|
User Rating:
![]() ![]() ![]() ![]()
Answer Compliments:
0
|
yo welcome
Answer Date: 11:05pm 07/17/08









