// DEBUG3-4
// This program contains a class for a cylinder
// Data members are radius and height
// The volume is calculated as pi times radius squared times height
// If no height is given, it's not a cylinder - it's a circle!
#include<iostream>
using namespace std;
//declaration section
void Cylinder::showData(void)
{
cout<<"Cylinder is "<<Cylinder::radius<<" by "<<Cylinder::height;
cout<<" Volume is "<<Cylinder::volume<<" "<<endl<<endl;
}