Westonci.ca is the premier destination for reliable answers to your questions, brought to you by a community of experts. Get detailed and accurate answers to your questions from a community of experts on our comprehensive Q&A platform. Our platform offers a seamless experience for finding reliable answers from a network of knowledgeable professionals.

Write a program that can perform three different activities:

Generate one random integer from 2 to 10, and then display all of the numbers from 100 to 200 that are evenly divisible by the random integer.
Generate one random positive integer from 2 to 200, and then display all of the prime numbers from 2 to the random integer.
Generate one random positive integer from 1 to 100, and then display all of the numbers in octal notation from 1 to the random integer.
When the program is run, a number from 1 to 3 should be randomly generated to determine which of the three tasks should be performed.