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
Number required after Prime Numbers addi
Number required after Prime Numbers addition
Apr 24, 2013 at 5:00pm UTC
Xnheritance
(3)
I have to write a code in which the addition of prime number gives the number user input..
for example if user enters 10 then
7+3 = 10
2+3+5 = 10
Last edited on
Apr 24, 2013 at 5:01pm UTC
Apr 24, 2013 at 5:06pm UTC
Fransje
(435)
Try to do it yourself, and come back if you get problems you can't solve on your own.
Apr 25, 2013 at 1:40pm UTC
Xnheritance
(3)
The only thing I cannot understand is that how to make those pairs other than these I have found the prime numbers in an array and with these prime numbers I am unable to make the pairs....
Topic archived. No new replies allowed.