1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Express a given number as a summation of 4 positive primes...

Discussion in 'C' started by rehansheikh, Jul 1, 2011.

  1. rehansheikh

    rehansheikh New Member

    Joined:
    Jul 1, 2011
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    0
    C++ program for :
    Express a given number as a summation of 4 positive primes...

    suppose input is 28
    then output should be 7 11 3 7
     
  2. xpi0t0s

    xpi0t0s Mentor

    Joined:
    Aug 6, 2004
    Messages:
    3,012
    Likes Received:
    203
    Trophy Points:
    0
    Occupation:
    Senior Support Engineer
    Location:
    England
    Not difficult. How far have you got and where are you stuck?
     

Share This Page