#include<iostream>
using namespace std;
int main()
{
int radious,height;
float volcy;
cout<<"please enter the radious of cylinder:";
cin>>radious;
cout<<"please enter the height of cylinder:";
cin>>height;
volcy=(3.14*radious*radious*height);
cout<<"the volume of the cylinder is:"<<volcy<<endl;
}
No comments:
Post a Comment