What is the use of endl?
No Answer is Posted For this Question
Be the First to Post Answer
What does the ios::ate argument do?
What is encapsulation in c++ with example?
What is jump statement in C++?
What are advantages of using friend classes?
what is the size of a class which contains no member variables but has two objects??? is it 1 or 2??
What is a pdb file?
Write a single instruction that will find the remainder of integral division when x is divided by y. Have the answer stored in z.
What is scope in c++ with example?
What are the various compound assignment operators in c++?
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 the basic concept of c++?
What is & in c++ function?