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

Function main3

Lab_04/Source2.cpp:7–24  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected