answersLogoWhite

0


Best Answer

Write a function that implements an algorithm that checks to see if a particular integer is prime (returning a boolean).

Write a program that uses that function on each number from 1 to 100, and if true, displays that number.

User Avatar

Wiki User

โˆ™ 2012-05-17 13:09:59
This answer is:
User Avatar
Study guides

What is a programming language

What does DOS stand for

What is a software that is distributed for free

What is application software

โžก๏ธ
See all cards
3.8
โ˜†โ˜…โ˜†โ˜…โ˜†โ˜…โ˜†โ˜…โ˜†โ˜…
35 Reviews

Add your answer:

Earn +20 pts
Q: How can I write a program to display prime numbers from 1 to 100?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

How do you write a C plus plus program that will display the first 10 positive prime numbers?

By learning how to program on C+.


How do you write a program to read set of numbers using by an array and display the ascending order of the given input numbers?

To write a C++ program to display the student details using class and array of object.


How do you write a program in objective c numbers 1-100 prime numbers?

fdsgfhgdfhgdf


How do you write a VBnet program to find the prime numbers between 100 to 200?

VBnet program to find the prime numbers between 100 to 200?


Write a c program to find out the prime numbers between 1 to 500?

write a program to find prime number between 1 to500


Write a program to display the Fibonacci series?

write a program that display the Fibonacci series?


Write a C program to display a pascal triangle?

write a c program to display * * * * * * * * * * * * * * * *


Write a C program to find the sum of all prime numbers?

Since there is an infinite set of prime numbers the answer would be infinity.


How to write program for finding prime numbers between 1 to 100?

linearly


Program for print prime all number from 1 to 100 in foxpro?

Prime numbers are numbers that are only divisible by themselves and the number 1. You can write a program to print all prime numbers from 1 to 100 in FoxPro.


How do you write a Qbasic program to display these Numbers-0112358132134?

you do this 10 print "0112358132134" use the whole of the thing


Write a program in java to display Armstrong numbers between1 to 1000?

m,kj,kh,kj

People also asked