首页
技术
登录
6mi
u
盘
搜
搜 索
技术
Java9--Math函数
Java9--Math函数
技术
2024-07-21
72
1:例子
package
my
;
public
class
Hello
{
public
static
void
main
(
String
[
]
args
)
{
double
a
=
3
;
double
b
=
4
;
double
c
=
Math
.
sqrt
(
a
*
a
+
b
*
b
)
;
System
.
out
.
println
(
"the result:"
+
c
)
;
}
}
转载请注明原文地址:https://ipadbbs.8miu.com/read-50964.html
最新回复
(
0
)