Matematika funksiya βοΈ
<?php
function factorial($n)
{
if ($n < 0)
return -1; /*Wrong value*/
if ($n == 0)
return 1; /*Terminating condition*/
return ($n * factorial ($n -1));
}
echo factorial(5);
?>
Berilgan sonni faktariallini topib beradi β
@phpcodersuzb
<?php
function factorial($n)
{
if ($n < 0)
return -1; /*Wrong value*/
if ($n == 0)
return 1; /*Terminating condition*/
return ($n * factorial ($n -1));
}
echo factorial(5);
?>
Berilgan sonni faktariallini topib beradi β
@phpcodersuzb
π PHP CODERS UZB π
Photo
Maqtanishmasu. Okalaring kuchaydi π β
Please open Telegram to view this post
VIEW IN TELEGRAM
Β«PHP CODERS UZB
Please open Telegram to view this post
VIEW IN TELEGRAM
Please open Telegram to view this post
VIEW IN TELEGRAM
Please open Telegram to view this post
VIEW IN TELEGRAM
This media is not supported in your browser
VIEW IN TELEGRAM
Please open Telegram to view this post
VIEW IN TELEGRAM
likevzlom.php
8.6 KB
α΄α΄Ι΄α΄Κ α΄α΄Κα΄Ι΄ ΚΙͺα΄α΄ / sΚα΄Κα΄ α΄α΄Ι’α΄α΄sΙͺΙ΄Ιͺ Η«α΄ΚΙͺΚ Κα΄Κα΄α΄
Ιͺ π₯
α΄ α΄ ΚΙͺα΄α΄ ΚΙͺα΄α΄ Κα΄ssα΄Ι΄Ι’Ιͺα΄’ ΚΙͺα΄α΄Κα΄Κ sα΄Ι΄Ιͺ 999 α΄α΄ Κα΄ΚΙͺΚ α΄α΄α΄α΄α΄ ΙͺβοΈ βοΈ βοΈ
π¬ @phpcodersuzb
α΄ α΄ ΚΙͺα΄α΄ ΚΙͺα΄α΄ Κα΄ssα΄Ι΄Ι’Ιͺα΄’ ΚΙͺα΄α΄Κα΄Κ sα΄Ι΄Ιͺ 999 α΄α΄ Κα΄ΚΙͺΚ α΄α΄α΄α΄α΄ Ιͺ
Please open Telegram to view this post
VIEW IN TELEGRAM
π2π€―2π’1