Sabtu, 10 Agustus 2013

PHP Indonesia - Facebook: cara buat perulangan seperti ini 0 00 000 00 0 ...

PHP Indonesia - Facebook
PHP Indonesia is a community for everyone that loves PHP. Our focus is in the PHP world but our topics encompass the entire LAMP stack. Topics include PHP coding, to memcached handling, db optimizations, server stack, web server tuning, code deploying, hosting options and much much more. Youtube Channel : http://www.youtube.com/user/OurPHPIndonesia Twitter : @php_indonesia NOTE: Rules for Wall posting: https://www.facebook.com/groups/35688476100/doc/10151597056316101/ Daftar Keanggotaan : http://www.facebook.com/groups/35688476100/doc/10150671770741101/ 
cara buat perulangan seperti ini 0 00 000 00 0 ...
Aug 11th 2013, 03:59, by Ahmad Santoso

Ahmad Santoso 3:59am Aug 11
cara buat perulangan seperti ini

0
00
000
00
0

bagaimana ya saya udah coba menggunakan nested for tpi blm bisa2
mohon bantuannya

Alfan Zain 4:06am Aug 11
puncak = 3
jumlah rownya 5, berarti jumlah row = puncak + (puncak - 1)

Hermawan Wicaksono 4:15am Aug 11
script sampean mana? coba dulu baru tanya

Al Ghurahy 4:18am Aug 11
<?php

$i_max = 7;

for($i = 1; $i <= $i_max; $i++) {

if($i > ceil($i_max / 2)) $ii_max = $i_max - $i + 1;
else $ii_max = $i;

for($ii = 0; $ii < $ii_max; $ii++) {
echo "0";
}

echo "<br>";
}

?>

Aris Gates 4:21am Aug 11
salah ente harusnya jangan ada yg bantu ini untuk melatih logika seharusnya bisa membuat algoritmanya sendiri:)

Hermawan Wicaksono 4:21am Aug 11
biar paling gak dia mencoba dulu tulis script punya dia..
nek copy paste kabeh yo iso, kapan majune terus

You are receiving this email because you subscribed to this feed at blogtrottr.com.

If you no longer wish to receive these emails, you can unsubscribe from this feed, or manage all your subscriptions

Tidak ada komentar:

Posting Komentar