Programming


function pangkat ($p)
{ $pangkat = $h=1; FOR ($i=1 ; $i<=$p ; $i++) $h=$h*2 ; echo "$h" ; }
echo "

DAFTAR PANGKAT

” ;
?>

Bilangan

Pangkat

Hasil

2 0
2 1
2 2
2 3
2 4
2 5
2 6
2 7
2 8
2 9
2 10

download dan dapatkan source script :

function pangkat

Advertisements
  1. Request cara menampilkan membuat konten yang dinamis versi php donk…

  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: