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

Function main2

Lab_04/Source1.cpp:7–22  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected