algorithm to find the volume of a cylinder
Answers
Answered by
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
Math,
8 days ago