Presentation is loading. Please wait.

Presentation is loading. Please wait.

Triana Elizabeth, 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<<"

Similar presentations


Presentation on theme: "Triana Elizabeth, 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<<""— Presentation transcript:

1 Triana Elizabeth, S.Kom

2 #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/3792431/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<

3

4 * * * * * * * * * * * * * * * * 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

5 * * * * * * * #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/3792431/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<

6

7 * * * * * * * 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


Download ppt "Triana Elizabeth, 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<<""

Similar presentations


Ads by Google