Skip to content

Conversation

ghost1497
Copy link

I finished...

System.out.println("Enter an integer to begin: ");
int n = input.nextInt();

System.out.println("Result: " + (1+n));
Copy link
Contributor

Choose a reason for hiding this comment

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

need to print the sum of 1..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