Skip to content

Conversation

Jordanceldridge
Copy link

Let me know what you think !


for (int i=0;i <=test; i++){
result +=i;
System.out.println(result);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

rework to only print the completed sum of 0 to n.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants