正在加载图片...
void Cylinder: setcylinder( doubler, double) radlus-r, height=h; double cylinder: getradiuso return radius, double Cylinder: getheighto freturn height double cylinder: volume double vol vol-3.1415926*radius*radius * height return vOvoid Cylinder::setcylinder(double r,double h) { radius=r; height=h; } double Cylinder::getradius() { return radius;} double Cylinder::getheight() {return height;} double Cylinder::volume() {double vol; vol=3.1415926*radius*radius*height; return vol;}
<<向上翻页向下翻页>>
©2008-现在 cucdc.com 高等教育资讯网 版权所有