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
How is c++ used in the real world?
How a new element can be added or pushed in a stack?
What is object slicing and how can we prevent it?
Why is the function main() special?
Is the declaration of a class its interface or its implementation?
Must accepts "Maestro Cards" Tax for bike should be less than 15 Total number of lanes is more than 10 Must provides monthly pass Write a method: boolean isGoodTollBridge(String[] cardsAccepted, String[] tollTax, boolean hasMonthlyPass, int numberOfLanes); String[] cardsAccepted A String array of names of card types accepted for payment of toll tax, it can be null if the toll does not accept any card String[] tollTax A String array of toll tax chart (say “Train : 300â€Â,â€ÂBullCart : 10â€Â) boolean hasMonthlyPass This parameter defines whether there is any monthly pass available or not int numberOfLanes This parameter defines the number of lanes for each side
How would you represent an error detected during constructor of an object?
How can you force instantiation of a template?
What is the real purpose of class – to export data?
write the programme that convert a interger to biniry number
What is the c++ programming language used for?
What are the main differences between C and C++?