Calculate the volume of a cylinder in c

 #include<stdio.h>

int main()

{

int radious;

int hight;

float pi = 3.14;

printf("Enter the value of radious\n");

scanf("%d", &radious);

printf("Enter the value of hight\n");

scanf("%d", &hight);

        printf("Voluem of the cylender is %f\n", pi*radious*radious*hight);

return 0;

}

Comments

Popular posts from this blog

create a num table in a new file in c

write a programme to compare time stamp in c

write a struct programme to keep bank details in c