您的位置 电脑知识爱好者 >> 编程知识 >> 请问C 中如何使用平方根?

请问C 中如何使用平方根?

电脑知识爱好者互联网本站整理2008-1-16 12:29:55
知识重点:在C中的math.h库里边有个sqrt函数是用来开方的 C的代码如下: #include stdio.h #include math.h void main() { printf(the square root of 2 is %d, squrt(2)); } C+++啊。去买本C+++..

在C中的math.h库里边有个sqrt函数是用来开方的 C的代码如下: #include <stdio.h> #include <math.h> void main() { printf("the square root of 2 is %d", squrt(2)); }
C+++啊。去买本C++++语言的书啊。

  • 二打六超进化的答案就是不错的。

  • 我现在不知道..等一下就会知道了

  • 在C中的math.h库里边有个sqrt函数是用来开方的

    参与评论
    相关内容
  • 关于我们 | 隐私政策 | 站点地图 | 站长博客|京ICP备07025396号
    添加到百度搜藏 添加到百度搜藏 电脑知识爱好者Copyright ?2006-2008版权所有 我要啦免费统计