Computer Science, asked by zohalakhani, 4 months ago

write a program to find the volume of a cylinder​

Answers

Answered by MaTaehyung
3

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:

I hope this will be correct and it will help you ✨⚡

Answered by ShreyaSS123
0

Answer:

Here,

Explanation: C Program will be :-

#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);  

}  

Thanks : )

Similar questions