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

Function main

Lab_09/Pascal.cpp:4–23  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2using namespace std;
3
4int main()
5{
6 cout << "\t\t\tPalcal's Triangle\n";
7 int a[7][7] = {};
8 int row = 0, col = 0;
9 for (int row = 0; row < 7; row++)
10 {
11 for (int col = 0; col < row; col++)
12 {
13 a[0][0] = 1;
14 a[row + 1][1] = 1;
15
16 cout << a[row][col];
17 }
18 cout << endl;
19 }
20
21 system("pause");
22 return 0;
23}

Callers 5

read_displayFunction · 0.70
transposeFunction · 0.70
sum_matricesFunction · 0.70
productFunction · 0.70
main22Function · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected