Project 2b
Writa a java script which will input an integer n. Your script should then find
the product of the first n natural numbers. For example if 5 is entered, then
the product will be 1 x 2 x 3 x 4 x 5 = 120.
Case 1
If the product is less than or equal to 120, then
your script should also find and report the sum of the opposite of those
integers. In other words, in this case, 1  2 3 4 5 = 15.
Case 1
If the product is greater than 120, then
your script should also find and report the sum of those
integers. In other words, in this case, 1 + 2 + 3 + 4 + 5 = 15.
Sample output1
 Sample output2






