Tinaliah, S. Kom.. * * * * * * * * * * * * * * * * * #include using namespace std; void main () { for (int i = 1; i <= 9; i++){ for (int j = 1; j <= 6;

Presentation on theme: "Tinaliah, S. Kom.. * * * * * * * * * * * * * * * * * #include using namespace std; void main () { for (int i = 1; i <= 9; i++){ for (int j = 1; j <= 6;"— Presentation transcript:

Tinaliah, S. Kom.

* * * * * * * * * * * * * * * * * #include using namespace std; void main () { for (int i = 1; i <= 9; i++){ for (int j = 1; j <= 6; j++){ if (i 10-j){ cout<<" "; } else { cout<<"* "; } cout< { "@context": "http://schema.org", "@type": "ImageObject", "contentUrl": "http://images.slideplayer.com/12/3667199/slides/slide_2.jpg", "name": "* * * * * * * * * * * * * * * * * #include using namespace std; void main () { for (int i = 1; i <= 9; i++){ for (int j = 1; j <= 6; j++){ if (i 10-j){ cout<< ; } else { cout<< * ; } cout<

* * * * * * * * * * * * * * * * * Algoritma Bentuk_Bintang { Menampilkan Bentuk Bintang } DEKLARASI i, j : integer DESKRIPSI : for i  1 to 9 do for j  1 to 6 do if (i 10-j) then write (‘ ’) else write (‘*‘) endif endfor write (enter) endfor

* * * * * * * #include using namespace std; void main () { for (int i = 1; i <= 7; i++) { for (int j =1; j <=7; j++) { if (j==i || j== 8-i) { cout<<"*"; } else { cout<<" "; } cout< { "@context": "http://schema.org", "@type": "ImageObject", "contentUrl": "http://images.slideplayer.com/12/3667199/slides/slide_5.jpg", "name": "* * * * * * * #include using namespace std; void main () { for (int i = 1; i <= 7; i++) { for (int j =1; j <=7; j++) { if (j==i || j== 8-i) { cout<< * ; } else { cout<< ; } cout<

* * * * * * * Algoritma Bintang_Silang { Menampilkan Bintang Berbentuk Silang } DEKLARASI i, j : integer DESKRIPSI : for i  1 to 7 do for j  1 to 7 do if (j = i or j = 8-i) then write (‘*’) else write (‘ ‘) endif endfor write (enter) endfor

* Buatlah Flowchart dan Pseudocode untuk tampilan berikut : (a)(b) (c) (d) (e)

Algoritma dan Struktur Data Tinaliah, S. Kom

Download ppt "Tinaliah, S. Kom.. * * * * * * * * * * * * * * * * * #include using namespace std; void main () { for (int i = 1; i <= 9; i++){ for (int j = 1; j <= 6;"

Similar presentations