Skip to content

Latest commit

 

History

History
12 lines (8 loc) · 398 Bytes

File metadata and controls

12 lines (8 loc) · 398 Bytes

ZCW-MicroLabs-JavaFundamentals-SumOrProduct

Sum or Product

Overview

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

Unit Test

No Unit Test