算法和数据结构的编程题,用C语言实现。跪求
算法和数据结构的编程题,用C语言实现。跪求
日期:2016-10-20 07:36:31 人气:2
编程题
5.1
#include
#define PI 3.14159
using namespace std;
//重载函数
double getGirth(double length, double width)
{
return 2 * (length + width);
}
//重载函数
double getGirth(double radius)
{
return PI * radius * radius;
}
void main( )
{
cout