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 12:10
1. declare a constant named cents_per_pound and initialize with 25. 2. get the shipping weight from user input storing the weight into shipweightpounds. 3. using flat_fee_cents and cents_per_pound constants, assign shipcostcents with the cost of shipping a package weighing shipweightpounds.
Answers: 2
question
Computers and Technology, 23.06.2019 03:30
Ihave a singular monitor that is a tv for my computer. recently, i took apart my computer and put it back together. when i put in the hdmi cord and booted the computer to see if it worked, the computer turned on fine but the screen was blue with "hdmi no signal." i've tried everything that doesn't require buying spare parts, any answer is appreciated!
Answers: 1
question
Computers and Technology, 23.06.2019 06:40
What are the three uses of a screw?
Answers: 2
question
Computers and Technology, 24.06.2019 12:30
Select all that apply. what two keys listed below should you use to enter data in an excel worksheet? tab backspace enter right arrow
Answers: 2
You know the right answer?
Write a program that can perform three different activities: Generate one random integer from 2 to...
Questions
question
Mathematics, 15.11.2020 04:00
Questions on the website: 13722363