Professional Documents
Culture Documents
h>
int main()
{
float rds ,hgt;
printf("Enter radius of circle and height of cylinder respectively \n");
scanf("%f",&rds);
scanf("%f",&hgt);
printf("\nThe volume of cylinder having radius %f and height %f is %f
",rds,hgt,3.14*rds*rds*hgt);
return(0);
}