Computer Science, asked by shaleen25, 23 days ago

Write a programs that will calculate the volume of a cylinder

Answers

Answered by Anonymous
1

Explanation:

\large{\underline{\underline{\maltese{\green{\pmb{\sf{ \; Question \; :- }}}}}}}

  • Write a programs that will calculate the volume of a cylinder

\large{\underline{\underline{\maltese{\red{ \pmb{\sf{ \; 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);

Answered by TheBrainly002
3

✠ Question:−

Write a programs that will calculate the volume of a cylinder

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

Thanks

Similar questions