Computer Science, asked by anuragkumar8332, 17 days ago

algorithm to find the volume of a cylinder

Answers

Answered by rudraprasadswain15
1

Answer:

#include <stdio.h>

int main()

{

int height=38;

int radius=35;

double pie=3.14285714286;

double volume=pie*(radius*radius)*height;

printf("Volume of the cylinder=%f",volume);

}

Explanation:

V=Bh or V=πr2h

Similar questions