文件名称:S
-
所属分类:
- 标签属性:
- 上传时间:2013-06-05
-
文件大小:656byte
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
/*创建一个Circle类,包含数据成员Radius(半径)和设置半径的函数set,获取半径的函数get及计算周长和面积的函数。
然后定义主函数main,创建具有5个元素Circle的对象数组,将它们的半径设为1-5,然后计算每个圆的周长和面积。*/-/* Create a Circle class that contains the data members Radius (radius) and set the radius of the function set, get access to a function of radius and calculate the perimeter and area of the function. Then define the main function main, has five elements Circle create an array of objects, they are set to the radius of 1-5, and then calculate the perimeter and area of each circle.* /
然后定义主函数main,创建具有5个元素Circle的对象数组,将它们的半径设为1-5,然后计算每个圆的周长和面积。*/-/* Create a Circle class that contains the data members Radius (radius) and set the radius of the function set, get access to a function of radius and calculate the perimeter and area of the function. Then define the main function main, has five elements Circle create an array of objects, they are set to the radius of 1-5, and then calculate the perimeter and area of each circle.* /
(系统自动生成,下载前可以参看下载内容)
下载文件列表
计算圆的面积.cpp
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.