Nowy kurs! Każdy programista powinien nauczyć się Generative AI!
Wypróbuj darmową lekcjęDyskusje Q&A
Equations in java
0 głosów
1 OdpowiedźLinear equation
1 Głos
1 Odpowiedź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 Głos
3 odpowiedziPopularne dzisiaj
Code
2 Votes
Solution
0 Votes
Calculator
0 Votes
How to make animation
0 Votes
Sololearn logo
0 Votes