Write a programs that will calculate the volume of a cylinder
Answers
Answered by
1
Explanation:
- Write a programs that will calculate the volume of a cylinder
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
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
Science,
11 days ago
Math,
23 days ago
Math,
23 days ago
Accountancy,
9 months ago
English,
9 months ago