Posts
 
Reputation
Joined
Last Seen
Strength to Increase Rep
+0
Strength to Decrease Rep
-0
0% Quality Score
Upvotes Received
0
Posts with Upvotes
0
Upvoting Members
0
Downvotes Received
1
Posts with Downvotes
1
Downvoting Members
1
1 Commented Post
0 Endorsements
~997 People Reached
Favorite Tags
c++ x 6
php x 1

5 Posted Topics

Member Avatar for Campbel

So I have a bit of a problem... A la I am posting on this forum. If you will bare with me for a short narrative I can explain the situation. Currently a department in my school is involved in a Weather data collection project which they have asked me …

Member Avatar for phpbeginners
0
318
Member Avatar for samsons17
Member Avatar for Skeen
0
313
Member Avatar for ge6a93

Well whats the question? Certainly no one is going to do your CS 101 project for you.

Member Avatar for Campbel
-1
76
Member Avatar for PDB1982

Actually you only need to loop through n^(1/2) [The square root of N]. Must include Math.h [CODE] bool isPrime(int i) { int t; double root = sqrt((double)(i)); for (t = 0; t<root; t++) { if(i%t==0) return false; } return true; } [/CODE] Go ahead and try this out. I didn't …

Member Avatar for JasonHippy
0
99
Member Avatar for seraph_harim
Member Avatar for Campbel
1
191

The End.