Task 4: Ask for a number and print the sum of the numbers 1 to n.
Task 5: Only multiples of 3 and 5 are considered in the sum.
Task 6: Ask for a number then give a choice whether to compute the sum or compute the factorial.
Task 7: Ask user for a number then print the multiplication table upto 12 for the given number.