π» Shaxsiy noutbukingiz brendi qaysi?
Anonymous Poll
26%
HP
3%
Dell
0%
Mac
8%
Lenovo
0%
Irbis
13%
Acer
8%
Asus
13%
Boshqa...
31%
Menda noutbuk yo'q
π1
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