欢迎分享,转载请注明来源:内存溢出
//第一题:#includevoidfun(char*a[],char*b[]){intl/*获取较短数组的长度*/if(strlen(*a)usingnamespacestdclassCircle{public:voidinput(double)//输入voidprint()//输出doublegetArea()//计算半径private:doubler//半径}voidCircle::input(doublea){r=a}doubleCircle::getArea(){returnr*r*3.14159}voidCircle::print(){cout>ac.input(a)c.print()return0}
赞
(0)
打赏
微信扫一扫
支付宝扫一扫
用js简单的画个圆
上一篇
2023-05-16
怎么把地图碎片放到gis当中去
下一篇
2023-05-16
评论列表(0条)