Use C++ codingWrite a program that prints all prime numbers between 2 and 1000 inclusive. Your program should have a function named ‘prime’ which accepts an integer and return a Boolean (a true if the number is prime and false otherwise). Display the numbers in main().
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here