committed by
The Coding Aviator
parent
3a05e44af7
commit
a57baf07fd
@ -59,7 +59,7 @@ for (int i = 1; i <= addUntil; i++)
|
|||||||
sum+=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);
|
||||||
```
|
```
|
||||||
|
|
||||||
 <a href='https://repl.it/CJYr/0' target='_blank' rel='nofollow'>Run Code</a>
|
 <a href='https://repl.it/CJYr/0' target='_blank' rel='nofollow'>Run Code</a>
|
||||||
|
Reference in New Issue
Block a user