| 5 | #include <iostream> |
| 6 | using namespace std; |
| 7 | int 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 | } |
nothing calls this directly
no outgoing calls
no test coverage detected