subject

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.

ansver
Answers: 1

Another question on Computers and Technology

question
Computers and Technology, 23.06.2019 12:00
If you embed a word table into powerpoint, what happens when you make edits to the embedded data? a. edits made to embedded data change the data in the source file; however, edits made to the source file will not be reflected in the embedded data. b. edits made to embedded data will change the data in the source file, and edits made to the source file will be reflected in the embedded data. c. edits made to embedded data don't change the data in the source file, nor will edits made to the source file be reflected in the embedded data. d. edits made to embedded data don't change the data in the source file; however, edits made to the source file will be reflected in the embedded data.
Answers: 1
question
Computers and Technology, 23.06.2019 14:30
Open this link after reading about ana's situation. complete each sentence using the drop-downs. ana would need a minimum of ato work as a translator. according to job outlook information, the number of jobs for translators willin the future.
Answers: 3
question
Computers and Technology, 24.06.2019 01:30
Hazel has just finished adding pictures to her holiday newsletter. she decides to crop an image. what is cropping an image?
Answers: 1
question
Computers and Technology, 24.06.2019 13:20
In the insert table dialog box, you select the checkbox to create the first row as the header of the table.
Answers: 3
You know the right answer?
Write a program that can perform three different activities: Generate one random integer from 2 to...
Questions
question
Mathematics, 04.03.2021 20:20
Questions on the website: 13722360