• Cours
  • Compilateur de code
  • Discuter
  • Tarification
  • Équipes
Menu

Discussions Q&R

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 Vote
3 Réponses
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 Vote
2 Réponses
6th Aug 2016, 6:23 PM
Sumit Tyagi
Sumit Tyagi - avatar
< Précédent1...3132Suivant >
Aujourd'hui en vedette
I have finished first in Saturn League 3 times in a row, why have I not been given the badge for “Intergalactic Champion”
4 Votes
Python intermediate help with dictionaries
0 Votes
Marquee
1 Votes
What are the advantages and disadvantages of using let vs var when declaring variables in JavaScript?
0 Votes
I'm about to make a complex calculator in python
0 Votes
Any Advise?
1 Votes
RUST'S FUTURE
1 Votes
Popsacles Aufgabe
1 Votes
How far do courses go on Sololearn?
0 Votes
Button In C++
1 Votes