2.30
来源:互联网 发布:作家 知乎 编辑:程序博客网 时间:2024/05/16 06:22
#include<iostream>#include<math.h>
using namespace std;
int sroot(int i)
{return sqrt(i);
}
long sroot(long l);
{return sqrt(l);
}
double sroot(double d)
{return sqrt(d);
}
int main()
{
int i=13;
long l=1234;
double d=1.23;
cout<<i<<"的二次方根为:"<<sroot(i)<<endl;
cout<<l<<"的二次方根为:"<<sroot(l)<<endl;
cout<<d<<"的二次方根为:"<<sroot(d)<<endl;
return 0;
}
0 0
- 【2.30】
- 2.30
- 2.30
- 2.30
- 2.30
- 2.30
- 2.30
- 2.30
- 2.30
- 2.30
- 2.30
- 2.30
- 2.30-2.42
- 作业 2.30
- 作业 2.30
- 2.30(作业)
- 作业2.30
- 作业2.30
- android ntp更改网络时间服务器
- 3.24
- ajax 根据返回的json字串生成下拉选择框
- 作业3.23
- 动态规划趣味入门
- 2.30
- After Installation of Ubuntu
- P78,5-8作业题
- linux定时器的实现
- 阿里笔试之最长公共子串
- 计算机网络之概述
- 2015-第4周项目3-用对象数组操作长方柱类
- 【leetcode】Unique Paths
- 正则表达式的贪婪与懒惰模式