Q&A Discussions
Write and test a program that solves quadratic equations. A
quadratic equation is an equation of the form ax2+ bx + c =0 ,where a,b and c are given coefficient and x is the unknown The coefficients are real number inputs ,so they should be declared of type float or double Since quadratic equations typically have two solutions ,use x1 and x2 for the solutions to be output These should be declared of type double to avoid inaccuracies from round-off error
-1 Vote
3 AnswersHot today
Help
1 Votes
Data analysis
0 Votes
Lesson Takeaways
0 Votes
How do i make a lexer and parser
1 Votes
Order of AI courses
0 Votes
Saved code
0 Votes