• Cursos
  • Compilador de Código
  • Discutir
  • Preços
  • Teams
Menu

Q&A Discussões

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
c++
-1 Voto
3 Respostas
28th Jun 2016, 7:19 PM
Ogunjirin Emmanuel
Ogunjirin Emmanuel - avatar
Matt reaches the final round of a treasure hunt. In this, he finds that as he proceeds there are flags with the number written on them at different positions. The difference between two consecutive flags can be either a or b. If he finds the number on the first flag is 0. Given three integer, first one is number of flags present, second is a and third is b. then return all the possible values for last flag for each test case. hunt({3 1 2}) = {2 3 4}
java
0 Voto
2 Respostas
6th Aug 2016, 6:23 PM
Sumit Tyagi
Sumit Tyagi - avatar
< Anterior1...3132Próximo >
Quente hoje
Hi help me I am new
2 Votes
My codebits section is full of deleted codes
11 Votes
Why are there like 10 community-made lessons?
0 Votes
How do I solve all test cases for popsicles problem?https://www.sololearn.com/coach/3?ref=app
0 Votes
Why so many mathematical questions in challenges?
0 Votes
Where can I learn c#
0 Votes
Where did mess up....
1 Votes
DBA for finalist university student projects
0 Votes
best language if i want to learn about AI
0 Votes
New learner
0 Votes