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 )?
1963Problem 5: Hero's Formula is A method for calculating the area of a triangle when you know the lengths of all three sides. Let a, b, c be the lengths of the sides of a triangle. The area is given by:A= pp-ap-b(p-c) | wherep= a+b+c2 | | Write a C-language code to calculate area of triangle using above method. Take the three lengths of the triangle from the user and display the area that your program calculates.
2065Problem 6: Area of a trapezoid can be calculated by the following formula: A=(b1 b2)×h2 where b1 and b2 are the parallel sides or the bases and h is length of height Write a C code of this program
1999Post New Maxobiz C++ General Interview Questions
consiteunts of indian railways
How do I copy a header and footer to all pages?
Explain the Quantitative PCR for Intestinal Samples?
What is a from import statement and write the syntax for it?
Explain manual secondary cost planning? : co- cost center accounting
What is the 4 layer model?
Suppose you come forward with a usability recommendation, and the engineers counter that with, "All the usage data we have from millions of people suggest that is not a problem." How would you respond?
How to sort array of dictionary in objective c?
What is the difference between rely clause and guarantee?
What is meant by not thread safe?
What is the use of the route 53 ?
What is oracle sql called?
selenium can handle pop-up windows based on selenium is a test tool?
Why JP Morgan?
Tell me what is the equation for acid-test ratio in accounting?