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 )?
1956Problem 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.
2056Problem 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
1993Post New Maxobiz C++ General Interview Questions
Explain the reason behind ending a program with a system.exit(0)?
How to apply 'c' license and also explain what is difference between 'c' and 'b'license.i am also working in one of the private company.i have finished my diploma in 2014 .i have already finished in ITI electrician course.....
What is the main difference between ‘between’ and ‘in’ condition operators?
What is the response type and activity shown by effectors molecules igg, igm and iga?
A non-static inner class may have object instances that are associated with instances of the class’s outer class. A static inner class does not have any object instances.
What is linq provider?
What is oracle log switch?
What is a responsive template?
What is lazy stored procedure in swift and when is it used?
how to check cakephp version in ubuntu?
How you can load external css style?
What is the selenium's recording language?
In Intercompnay Billing scenario, Does Idocs get posted as we delivery is done from other plant and also the Intercompnay billing happens in the prcess. Though we have the same ERP system i.e. SAP only for all transactions.
What is the difference between on demand and reserved instances?
Write a code snippet to perform right-click an element in webdriver.