cplusplus
.com
TUTORIALS
REFERENCE
ARTICLES
FORUM
C++
Tutorials
Reference
Articles
Forum
Forum
Beginners
Windows Programming
UNIX/Linux Programming
General C++ Programming
Lounge
Jobs
Forum
General C++ Programming
HELP!(LOOP AND FUNCTION)
HELP!(LOOP AND FUNCTION)
Oct 28, 2014 at 4:12pm UTC
cjchapa1
(2)
a) Implement the function checkPrime(int n) that returns 1 if integer n is a prime number, and 0 otherwise
b) Implement the function checkTwin(int n) that returns 1 if (n, n+2) is a twin number, and 0 otherwise.
Oct 28, 2014 at 4:27pm UTC
mutexe
(2372)
what you got so far?
Oct 29, 2014 at 1:01am UTC
cjchapa1
(2)
i figured it out thanks!
Topic archived. No new replies allowed.