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

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.