- Joined
- Oct 16, 2008
- Messages
- 85
- Reaction score
- 0
Well my teacher is giving me two projects....this one is specifically supposed to be a challenge (and I agree) and the other thread which was pretty simple in the end.
I need to calculate all the prime numbers between 0 and 100.
For those that don't know what prime numbers are....
Prime numbers are numbers that can be divided by any number and will never equal a whole number.
.....
.....
.....
I think.
Is it possible for me to write..
can I write an If/Then statement saying if the numbers comes out an integer (No decimal places) then it does yada yada yada?
Help is always appreciated.
Thanks in advance.
~~Wymm
I need to calculate all the prime numbers between 0 and 100.
For those that don't know what prime numbers are....
Prime numbers are numbers that can be divided by any number and will never equal a whole number.
.....
.....
.....
I think.
Is it possible for me to write..
Code:
If x/1 = INT then
Bla bla bla
End if
can I write an If/Then statement saying if the numbers comes out an integer (No decimal places) then it does yada yada yada?
Help is always appreciated.
Thanks in advance.
~~Wymm