PROGRAM C++ PERULANGAN Admin Sunday, December 12, 2021 Materi Kuliah TI #include <iostream>using namespace std;int main(){ system ("color c"); int i,j,stb; stb=10; for (i=5;i>=1;i--) { for (j=1;j<=i;j++) { if (stb%2==0) cout << j+i << " "; else cout << 6-j << " "; } cout <<endl;} return 0; } Subscribe to receive free email updates:
0 Response to "PROGRAM C++ PERULANGAN"
Post a Comment