// Lab assignment #5 // ID:U1910049; Name:Zokirov Rustam // Control structure - Nested Loop #include using namespace std; int main2() { for (int i = 1; i <= 5; i++) { for (int j = 5; j >= 1; j--) { if (i >= j) cout << "*"; else cout << " "; } cout << endl; } system("pause"); return 0; }