Skip to content

Commit

Permalink
统一风格
Browse files Browse the repository at this point in the history
  • Loading branch information
wtlusvm committed Apr 8, 2017
1 parent dcd9910 commit 7ba699b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ch01/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ the loop sums the numbers from -100 to 100. the final value of sum is zero.
int main()
{
int sum = 0;
for (int i=50; i<=100; ++i)
for (int i = 50; i <= 100; ++i)
sum += i;

std::cout << "the sum is: " << sum << std::endl;
Expand All @@ -185,7 +185,7 @@ int main()

int main()
{
for (int i=10; i>=0; --i)
for (int i = 10; i >= 0; --i)
std::cout << i << " ";
std::cout << std::endl;

Expand Down

0 comments on commit 7ba699b

Please sign in to comment.