php ile ortalama not hesaplama

  1. PHP İle Ortalama Not Hesaplama

    <?php function ortalama($array){ $toplam = 0; $sayi = count($array); foreach($array as $ort){ if(is_numeric($ort)){ $toplam += $ort; // $toplam = $toplam + $ort; }else{ $sayi--; } } if($sayi){ $islem = $toplam / $sayi; return $islem; }else{ return "SADECE RAKAM...
Bu siteyi kullanmak için çerezler gereklidir. Siteyi kullanmaya devam etmek için çerezleri kabul etmelisiniz. Daha Fazlasını Öğren.…