Write a program to calculate the volume of a cylinder. (Hint: volume of cylinder = pie r²h
Answers
Answered by
6
Answer:
C Program
#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:
if you like it please mark me as brainliest
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;
print f("Volume of the cylinder=%f",volume);
}
Similar questions