m-yb

2019年9月2日

c开平方

摘要: #include <stdio.h> #include <math.h> int main() { // math, sqrt求平方根 // 三角形面积: 三边之和除以2 = m, S= sqrt(m(m-a)(m-b)(m-c)) float a,b; a= 4; b = sqrt(a); printf("%f", b); return 0; } 阅读全文

posted @ 2019-09-02 21:38 m-yb 阅读(719) 评论(0) 推荐(0) 编辑

导航