MCPcopy Create free account
hub / github.com/Rustam-Z/cpp-programming / main4

Function main4

Lab_04/Source3.cpp:7–27  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5#include <iostream>
6using namespace std;
7int main4()
8{
9 for (int i = 1; i <= 5; i++)
10 {
11 for (int j = 1; j <= i; j++)
12 {
13 cout << "*";
14 }
15 cout << endl;
16 }
17 for (int i = 1; i <= 5; i++)
18 {
19 for (int j = 5; j >= i; j--)
20 {
21 cout << "*";
22 }
23 cout << endl;
24 }
25 system("pause");
26 return 0;
27}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected