New course! Every coder should learn Generative AI!
Try a free lessonQ&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
Android studio Tutorial
0 Votes
Why output is 0 for from_chars
1 Votes
run python
0 Votes
math equation
2 Votes
Coding problems
1 Votes
coding error
0 Votes