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

Post New Answer

More C++ General Interview Questions

What is recursion?

0 Answers  


Search for: what is pair in c++?

0 Answers  


why v use c++ even we have microprocessor

2 Answers   CybAge,


How do you declare A pointer to a function which receives nothing and returns nothing

0 Answers  


what is oops and list its features in c++?

0 Answers  






What are the advantages of using const reference arguments in a function?

0 Answers  


What flag means?

0 Answers  


What is the meaning of c++?

0 Answers  


What is null pointer and void pointer and what is their use?

0 Answers  


What is this pointer in c++?

1 Answers  


Who invented turbo c++?

0 Answers  


What happens when you make call 'delete this;'?

0 Answers  


Categories