User profile: ProgramingNewb

User info
User name:ProgramingNewb
History
Joined:
Number of posts:30
Latest posts:

Help with primes program
[code]bool is_prime(int& k) { for(int i=2; i<=(k-1); i++) { if (k%i ==0) return false; ...

Help with primes program
so i changed it so that its if(k%i==0) return false; else true;.. and it still wont print any pr...

Help with primes program
[code] #include <iostream> #include <cmath> using namespace std; // FUNCTION PROTOTYPE FOR read_ra...

Help with primes program
@TheIdeasMan I cant even begin to understand jumper007's code, im in a beginners class using the ve...

Help with primes program
#include <iostream> #include <cmath> using namespace std; // FUNCTION PROTOTYPE FOR read_range v...