This program tries to print a left-aligned triangle of asterisks, num_rows rows tall, where row 1 has one star, row 2 has two stars, and so on up to num_rows stars in the last row.
Run it with num_rows = 4 and it looks fine. Run it with num_rows = 0 and it prints a row anyway, when it shouldn’t print anything at all.
Find out why, and fix it.