1 Star 0 Fork 0

CoderQi/cpp

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
圆面积周长.cpp 456 Bytes
一键复制 编辑 原始数据 按行查看 历史
CoderQi 提交于 2023-03-13 21:15 +08:00 . 类对象初学
////program:求圆的面积和周长
////author:软件2204冯佳晨
////date;3/13/2023
//#define PI 3.1415926
//#include<iostream>
//using namespace std;
//
//double fs(double r)
//{
// double S = PI * pow(r, 2);
// return S;
//}
//
//double fc(double r)
//{
// double C = 2 * PI * r;
// return C;
//}
//
//int main()
//{
// double r = 0;
// cin >> r;
// double S = fs(r);
// double C = fc(r);
// cout << S <<endl<<C << endl;
// return 0;
//}
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
C++
1
https://gitee.com/programmercg/cpp.git
git@gitee.com:programmercg/cpp.git
programmercg
cpp
cpp
master

搜索帮助