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 the two types of polymorphism?
What is the difference between global int and static int declaration?
Write a code/algo to find the frequency of each element in an array?
What is difference c and c++?
What is the difference between reference type and pointers.
How many standards of c++ are there?
How many static variables are created if you put one static member into a template class definition?
Tell me an example where stacks are useful?
Define what is constructor?
What ANSI C++ function clears the screen a) clrscr() b) clear() c) Its not defined by the ANSI C++ standard
What are punctuators in c++?
Explain the virtual inheritance in c++.