<?php
/**
使用函数 求圆的面积
**/
function circle($n){
    define('PI',3.14);
    echo PI * $n * $n;
}
circle(3);

?>

使用函数 求圆的面积

 

相关文章:

  • 2022-12-23
  • 2021-08-28
  • 2022-02-23
  • 2021-10-15
  • 2022-12-23
  • 2022-12-23
  • 2021-08-09
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2021-08-24
  • 2022-12-23
  • 2021-09-14
  • 2022-12-23
相关资源
相似解决方案