============================================================== Problem 1: 20 points Make sure it works for sequences in which the largest value is the first number, and also for cases in which it is not: 10,3,4,9,0 10,3,4,20,0 -10 if it only works for one of these cases. Doesn't matter what happens when 0 is entered as the first number - the hw didn't specify what should happen. ============================================================== Problem 2: 20 points Make sure it works for sequences in which the smallest value is the first number, and also for cases in which it is not: 3,4,5,10,20,0 5,4,3,10,7,0 -10 if it only works for one of these cases. Doesn't matter what happens when 0 is entered as the first number - the hw didn't specify what should happen. ============================================================== Problem 3: 30 points -10 if it doesn't print out "Error, factorial undefined for n" if the input is less than 0. test with values 4,5,6 - -20 value if the results are not 24,120,720 When the factorial gets high enough, the result isn't right, since the integer values are too big. This is okay - they didn't have to deal with this. ============================================================== Problem 4: 30 points -15 if it doesn't check if the integer is >0. -10 if it does check and prints an error, but doesn't loop to get another input. -15 if the values in the table are not right for n=10 (as shown on the homework page.) -5 if the alignment is off for i=10.