Why do we need templates?
No Answer is Posted For this Question
Be the First to Post Answer
Is map thread safe c++?
What is auto used for 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 set in c++?
A milk carton can hold 3.78 litres of milk. Each morning, a dairy farm ships cartons of milk to a local grocery store. The cost of producing one litre of milk is $0.38, and the profit of each carton of milk is $0.27. Write a C++ program that prompts the user to enter the total amount of milk produced in the morning. Then display the number of milk cartons needed to hold milk, the cost of producing milk, and the profit for producing milk.
Carry out conversion of one object of user-defined type to another?
Which programming language is best to learn first?
If a function doesn’t return a value, how do you declare the function?
What is a parameterized type?
Differentiate between a constructor and a destructor in c++.
What is the header file for setw?
Describe delete operator?