C Code for Conical Frustum

This c programming code is used to find the conical frustum . You can select the whole c code by clicking the select option and can use it. When you click text, the code will be changed to text format. This c program code will be opened in a new pop up window once you click pop-up from the right corner. You can just copy, paste this c code and use it to find the conical frustum .

void main()
    float v,top,r,s,l,t,b,r1=10,r2=12,h=5;
    v=(1.0/3.0 )* 3.14* h*(pow(r1,2)+pow(r2,2)+(r1*r2));
    s =sqrt(pow((r1-r2),2)+pow(h,2)) ;
    printf("Volume = %f",v);
    printf("\nSlant Height = %f",s);
    printf("\nLateral Surface Area = %f",l);
    printf("\Top Surface Area = %f",top);
    printf("\nBase Surface Area = %f",b);
    printf("\nTotal Surface Area = %f",t);
Other Programming Codes
Online Calculator : Conical Frustum Calculator
Click on the select code link to copy and paste this free c program code for conical frustum calculator.

english Calculators and Converters