View Single Post
Old 06-07-2008, 01:10 PM   #2 (permalink)
kickass
 
Status: Junior Member
Join Date: Jun 2008
Posts: 24
Trader Rating: (0)
kickass is on a distinguished road
TD$: 165.00
Donate
Default Re: Javascript: Prime or not
Create a variable you want to test.
Create a simple While loop where you test an increment variable (i) against your number divided by 2.
kickass is offline   Reply With Quote