subject
Computers and Technology, 19.07.2019 05:20 ira51

Write a program that prompts the user for an integer and thenprints out all prime numbers up to that integer. for example, when the user enters 20, the program should print out:
2
3
5
7
11
13
17
19
note: a prime number is not divisible by any number except 1and itself.

ansver
Answers: 3

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 14:00
Which database model is best used for data warehouse and data mining
Answers: 3
question
Computers and Technology, 23.06.2019 12:30
Animations and transitions are added from the
Answers: 1
question
Computers and Technology, 24.06.2019 02:20
Peter is thinking of a number which isless than 50. the number has 9 factors.when he adds 4 to the number, itbecomes a multiple of 5. what is thenumber he is thinking of ?
Answers: 1
question
Computers and Technology, 24.06.2019 03:30
Explain the importance of html in web page designing in 20 sentences..
Answers: 1
You know the right answer?
Write a program that prompts the user for an integer and thenprints out all prime numbers up to that...
Questions
question
Mathematics, 04.05.2021 18:40
question
Business, 04.05.2021 18:40
question
Mathematics, 04.05.2021 18:40
question
Mathematics, 04.05.2021 18:40
question
Mathematics, 04.05.2021 18:40