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: 2

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 10:00
According to alisa miller foreign news bureaus
Answers: 3
question
Computers and Technology, 22.06.2019 10:50
Write a 3-4 page apa formatted paper comparing your organization’s it strategy with the best practices outlined in your course text. content should include, but not be limited to: developing and delivering on the it value, developing it strategy for the business value and linking it to business metrics. your paper should include an abstract and a conclusion and a reference page with 3-5 references
Answers: 1
question
Computers and Technology, 23.06.2019 08:30
All of these are true about using adhesive except: a. dissimilar materials can be joined. b. mixing tips are product and material specific. c. a specific application gun may be required. d. two-part adhesives are dispensed using two mixing tips
Answers: 3
question
Computers and Technology, 25.06.2019 08:20
The main circuit board inside the system uit is called megaboard / true or false
Answers: 1
You know the right answer?
Write a program that can perform three different activities: Generate one random integer from 2 to...
Questions
question
Mathematics, 24.11.2020 01:40
question
Mathematics, 24.11.2020 01:40
question
Mathematics, 24.11.2020 01:40
question
Mathematics, 24.11.2020 01:40
question
Mathematics, 24.11.2020 01:40
question
Mathematics, 24.11.2020 01:40
Questions on the website: 13722363