Skip to content

Commit

Permalink
Fixed Mooophy#438
Browse files Browse the repository at this point in the history
  • Loading branch information
pezy committed Apr 22, 2016
1 parent 6b3dd75 commit c4733c0
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions ch01/ex1_11.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,10 @@ using std::cin;
void print_range(int lo, int hi)
{
if (lo > hi)
{
print_range(hi, lo);
return;
}
for (int i = lo; i != hi; ++i)
cout << i << " ";
}
Expand Down

0 comments on commit c4733c0

Please sign in to comment.