Taking a single dimension array from a userI am trying to take an array size from a user, take the array elements from the user, and then print...
Warning: The address will always evaluate as true.Ahhh got it now! Thank you! [code] int main() { int response; cout << "Please enter a number betw...
Warning: The address will always evaluate as true.Ohh I see, so it doesn't stay.
Warning: The address will always evaluate as true.Ahhh okay so once it returns it doesn't execute anymore. [code] bool checkPrime(int B) { for(int...
Warning: The address will always evaluate as true.My code: [code]bool checkPrime(int B) { for(int i = 2; (i*i) <= B; ++i) { return true;...
This user does not accept Private Messages