document.write('
Data hosted with ♥ by Pastebin.com - Download Raw - See Original
  1. #include <iostream>
  2. using namespace std;
  3.  
  4. int main()
  5. {
  6.  
  7.     int batas, i, j;
  8.  
  9.     cout << "\\n\\t Membuat Pola Segitiga Bagian 3 \\n\\n";
  10.  
  11.     cout << " Masukkan Batas Nilai Segitiga : ";
  12.     cin >> batas;
  13.  
  14.     cout << endl;
  15.  
  16.     for (i = 1; i <= batas; i++)
  17.     {
  18.  
  19.         for (j = batas; j >= i; j--)
  20.         {
  21.  
  22.             cout << "*";
  23.         }
  24.  
  25.         cout << endl;
  26.     }
  27.  
  28.     cout << endl
  29.          << endl;
  30. }
');