What is virtual base class uses?
No Answer is Posted For this Question
Be the First to Post Answer
How can I disable the "echo" feature?
What are arithmetic operators?
What is c++ namespace?
How can I learn c++ easily?
How do you find out if a linked-list has an end? (I.e. The list is not a cycle)
What are the differences between new and malloc?
What is difference between initialization and assignment?
12 Answers HCL, HP, Infosys,
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.
What is an operator in c++?
How do you initialize a string in c++?
What is the use of ‘using’ declaration?
What are the differences between a struct and a class in C++?