Skip to content

Commit

Permalink
Update ex1_9.cpp
Browse files Browse the repository at this point in the history
it sums 0-50 rather than 50-100
  • Loading branch information
krystiansulinski committed Dec 27, 2015
1 parent da92b19 commit 3b5ddad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ch01/ex1_9.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,6 @@ auto sum(int lo, int hi)

int main()
{
cout << "sum is: " << sum(0, 50 + 1) <<endl;
cout << "sum is: " << sum(50, 100+1) <<endl;
return 0;
}

0 comments on commit 3b5ddad

Please sign in to comment.