C++ program output?
Explain output of this program.
#include
Write a C++ program which will compute the volume of a sphere or a cylinder after prompting the user to type the first character for the shape name.
2174Write a c++ code that will calculate the roots of a quadratic equation a2+ bx+c=0 Hint: d = sqrt (b2-4ac), and the roots are: x1 = (€“b + d)/2a and x2 = (€“b €“ d)/2a (use sqrt function from cmath.h )?
1950Problem 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.
2050Problem 6: Area of a trapezoid can be calculated by the following formula: A=(b1 b2)×h2 where b1 and b2 are the parallel sides or the bases and h is length of height Write a C code of this program
1990Am pass the 10000 records to target in target I will take commit interval 15000 when I was stop the work flow what will happened
1559Can we make any program in c++ without using any header file and what is the shortest program in c++.
1125Post New C++ General Questions
What are abstract data types in c++?
Can you please explain the difference between using macro and inline functions?
Is swift faster than go?
Is main a class in c++?
Is it possible to pass an object of the same class in place of object reference to the copy constructor?
what is multi-threading in C++?
If dog is a friend of boy and boy is a friend of house, is dog a friend of house?
List down the guideline that should be followed while using friend function.
What is a buffer c++?
What are the differences between java and c++?
What are static variables?
Is c++ pass by reference or value?
When can I use a forward declaration?
What is the last index number in an array of 100 characters a) 100 b) 99 c) 101
What is abstraction with real time example?