Jennifer Chao 4ceeb4df58 Program prompts user to input an integer and then returns the sum of all integers between 1 and the input. 6 years ago
.DS_Store initial commit 6 years ago
Main.class Program prompts user to input an integer and then returns the sum of all integers between 1 and the input. 6 years ago
Main.ctxt Program prompts user to input an integer and then returns the sum of all integers between 1 and the input. 6 years ago
Main.java Program prompts user to input an integer and then returns the sum of all integers between 1 and the input. 6 years ago
README.md initial commit 6 years ago
package.bluej Program prompts user to input an integer and then returns the sum of all integers between 1 and the input. 6 years ago

README.md

ZCW-MicroLabs-JavaFundamentals-SumOfInput

Sum of the Numbers

Overview

  • Write a program which prompts the user to input a number, n.
  • The program should respond by printing the sum of the numbers 1 to n.
  • Constraint: No Guassian wizardry !

Unit Test

No Unit Test

What's next?

  • The next lab can be found here.