Write a c++ code that will calculate the roots of a quadratic equation a2+ bx+c=0 Hint: d = sqrt (b2-4ac), and the roots are: x1 = (€“b + d)/2a and x2 = (€“b €“ d)/2a (use sqrt function from cmath.h )?
No Answer is Posted For this Question
Be the First to Post Answer
Is c++ a float?
Write a program which uses functions like strcmp(), strcpy()? etc
Differentiate between an inspector and a mutator ?
In what situations do you have to use initialization list rather than assignment in constructors?
Briefly describe a B+ tree. What is bulk loading in it?
What is ios :: in in c++?
Why do we use vector in c++?
Who was the creator of c++?
Explain terminate() and unexpected() function?
What are pointers, when declared, intialized to a) NULL b) Newly allocated memory c) Nothing. Its random
What will the line of code below print out and why?
What is abstraction c++?