filmov
tv
C Program To Calculate Surface Area of Cone
Показать описание
Given the values for radius and height of a Cone, write a C program to calculate Surface Area of the Cone.
Formula To Calculate Surface Area of Cone
Surface_Area = PI * radius * (radius + sqrt(height * height + radius * radius ));
where PI is approximately equal to 3.14
Expected Output for the Input
User Input:
Enter radius and height of the cone
2
5
Output:
Surface Area of Cone is 46.378838
C Programming Interview / Viva Q&A List
C Programming: Beginner To Advance To Expert