And then give them the possibility to choose between computing the sum and computing the product of all integers in the range 1 to N (both inclusive).