登录
首页 » C/C++ » 1

1

于 2018-08-30 发布 文件大小:2KB
0 59
下载积分: 1 下载次数: 0

代码说明:

  有一个圆环,其中小院半径为2.5,大圆半径为7。编程定义一个circle类,含有私有变量半径r,能够初始化r,计算圆面积。主函数中通过定义2个对象(大圆和小圆)来计算出圆环的面积。(There is a circle, of which the radius is 2.5 and the radius is 7. Programming defines a circle class, which contains the private variable radius R. It can initialize R and calculate the circle area. In the main function, the area of the circle is calculated by defining 2 objects (large circles and small circles).)

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • 696522资源总数
  • 104049会员总数
  • 30今日下载