Thursday, August 18, 2011

Random number generation program



#include "STDIO.H"

#include "STDLIB.H"

#include "TIME.H"

int main()

{

int num;

randomize();

//Generating the random number

num = random(99999);

//Printing the random number

printf("%d",num);


return 0;





r u unable to understand this program??????????TRY THESE


1. Email us at chelperr@gmail.com

2. Post your question in the comment box.

3. You can give us your email ID also.

4. If you want to ask a program/topic or wanted introduce any discussion topic then just email at chelperr@gmail.com or drop a comment in the comment box.

No comments:

Post a Comment