Fixed Logical error (#31639)

Fixed Logical Error in the Second program
This commit is contained in:
SpeedX
2019-03-15 11:55:33 +05:30
committed by The Coding Aviator
parent 3a05e44af7
commit a57baf07fd

View File

@ -59,7 +59,7 @@ for (int i = 1; i <= addUntil; i++)
sum+=i
}
System.out.println("The sum of the first 50 numbers is: " + 50);
System.out.println("The sum of the first 50 numbers is: " + sum);
```
![:rocket:](https://forum.freecodecamp.org/images/emoji/emoji_one/rocket.png?v=2 ":rocket:") <a href='https://repl.it/CJYr/0' target='_blank' rel='nofollow'>Run Code</a>