Problem 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.


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More C++ General Interview Questions

Who created c++?

0 Answers  


What is the operator in c++?

0 Answers  


When are exception objects created?

0 Answers  


How do I open binary files?

1 Answers  


Where can I run c++ program?

0 Answers  






Explain all the C++ concepts using examples.

0 Answers   InterGraph,


Why is swift so fast?

0 Answers  


What are 2 ways of exporting a function from a dll?

0 Answers  


What is conditions when using boolean operators?

0 Answers  


What is the role of C++ shorthand's?

0 Answers   TCS,


How many storage classes are available in C++?

1 Answers  


Using a smart pointer can we iterate through a container?

0 Answers  


Categories