Commit 10e35394 authored by Michael's avatar Michael

michael.davityan:exercise_05_23v9

parent 84ce13ab
......@@ -5,7 +5,7 @@ int
main()
{
for (int row = 4; row >= -4; --row) {
for (int column = -4; column <= 5 - std::abs(row); ++column) {
for (int column = -3; column <= 5 - std::abs(row); ++column) {
std::cout << (column <= std::abs(row) - 4 ? " " : "*");
}
std::cout << std::endl;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment