Princessindrie's Blog

Tugas Algoritma Lanjut

Posted on: 24 Oktober 2010

Exersice 1

Chart A [15] = [ “A – O”]

N =0 ; M =1

For { i=0 ; i<15 ; i++

{

Printf (%2C” ; A [i]);

N = N+1 ;

If (N==M)

{ printf (“\N”)

N = 0

M = M+1

}

}

 

Exersice 2

Chart A [11} = [“12-19”]

i=11 ; m=0

For (i=11 ; i>1)

{

A[i]=m

Printf (B= “m”)

i=i–

}

Iklan

Tinggalkan Balasan

Isikan data di bawah atau klik salah satu ikon untuk log in:

Logo WordPress.com

You are commenting using your WordPress.com account. Logout / Ubah )

Gambar Twitter

You are commenting using your Twitter account. Logout / Ubah )

Foto Facebook

You are commenting using your Facebook account. Logout / Ubah )

Foto Google+

You are commenting using your Google+ account. Logout / Ubah )

Connecting to %s


  • Tidak ada
  • Mr WordPress: Hi, this is a comment.To delete a comment, just log in, and view the posts' comments, there you will have the option to edit or delete them.

Kategori

Arsip

%d blogger menyukai ini: