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
What are pointers used for c++?
Explain how to initialize a const data member.
When is the destructor called?
Explain mutable storage class specifier.
what is Member Functions in Classes?
What gives the current position of the put pointer?
int *p = NULL; printf("%1d",p) ; what will be the output of this above code?
Which sort does c++ use?
What are the various access specifiers in c++?
Who created c++?
What is a responder chain?
You have to take 2 arrays of length 10. Input the values of array 1 from the user. Then copy the values of array 1 to array 2 in ascending order For example if user enters 9, 5, 6, 8, 1, 0, 2, 7, 4, 3 then copy the smallest element i.e. 0 first followed by 1, 2 and so