1.Write a program in c++ to radius & height then find the volume of cylinder ?
(Hint : volume of cylinder = πr2h)
Answers
Answered by
0
Answer:
But I have written this program in Python . if you want code so please reply back.
Answered by
0
Answer:
#include <iostream>
using namespace std;
int main()
{
int r,h;
cin>>r;
cin>>h;
cout<<"Volume of Cylinder = "<<3.14*r*r*h;
return 0;
}
Explanation:
Mark as brainliest : )
Similar questions