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

Please, sombody help with my prog.

Discussion in 'C' started by Lateef Odumesi, Oct 20, 2009.

  1. Lateef Odumesi

    Lateef Odumesi New Member

    Joined:
    Oct 20, 2009
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    0
    Hi All,
    Greetings to you here, I'm Lateef Odumesi, an online business expert and a programmer for that matter, I'm happy being on this forum.

    Please, I'm having problem with one of my programs so I need the code to generate the sequence of random numbers after giving the input of three different numbers.
    The program should be able to accept input of first, second, third and possibly fourth number then detect the formular or progression and continue the sequence.

    Expample of such sequence are:
    49059, 49405, 47231, 47325
    another sequence: 50765, 51168, 50378
    I want to know the formular and continous sequence.

    Looking forward to your quick and positive response.

    Thanks in anticipation for your support.
     
  2. xpi0t0s

    xpi0t0s Mentor

    Joined:
    Aug 6, 2004
    Messages:
    3,012
    Likes Received:
    203
    Trophy Points:
    0
    Occupation:
    Senior Support Engineer
    Location:
    England
    What do you think would be next in the sequence 49059, 49405, 47231, 47325?
    How did you work it out?
     

Share This Page