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
Explain how to initialize a const data member.
Define pointers?
Explain the use of vtable.
How do you invoke a base member function from a derived class in which you’ve overridden that function?
Describe the process of creation and destruction of a derived class object?
What is Namespace?
Can a function take variable length arguments, if yes, how?
Explain deep copy?
What is runtime errors c++?
What is input operator in c++?
Explain Text Manipulation Routines?
Is c++ vector dynamic?