randomize 2

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • jijo k abraham
    New Member
    • Jul 2010
    • 4

    randomize 2

    #include<stdlib .h>
    #include<iostre am.h>
    #include<conio. h>
    intmain()
    {
    int n,guessnum;
    randomize();
    cin>>n;
    guessnum=random (n-10)+10;
    cout<<guessnum< <endl:
    }
  • donbock
    Recognized Expert Top Contributor
    • Mar 2008
    • 2427

    #2
    What is your question?
    Is this really a different thread than your other post?

    Comment

    Working...