Use of random function - c program , C/C++ Programming

Use of random function:

int main(void)

{

   int i,j;

 

      for(j=0;j<150;j++)

      {

     // randomize();

      for(i=0;i<200;i++)

                 printf("%d\n", rand() % MAXINT);

      }

   return 0;

}

 

 

Posted Date: 10/18/2012 6:03:53 AM | Location : United States







Related Discussions:- Use of random function - c program , Assignment Help, Ask Question on Use of random function - c program , Get Answer, Expert's Help, Use of random function - c program Discussions

Write discussion on Use of random function - c program
Your posts are moderated
Related Questions
A: This will turn o_ "name mangling" for func so that one can connect to code compiled by a C compiler.

What are  Id e n t i f ie rs a n d C o n s t a n ts in C++? Id e n t i f ie r a n d C o n s t a n t : I d e n t i f ie r

(a) Write a recursive procedure (digits n) that computes the number of digits in the integer n using a linear recursive process. For example, (digits 42) should return 2 and (digit

how to make a game

Hey vrcoder I have got similar way but the game builder has sent me the game unfinished and left. I saw it on a link on line but they have wiped the old message with the link in it

write a C++ program that performs the following tasks 1. prompts the user to enter two numbers 2. displays the divisors of each number and store the divisors of number 1 in A and t

I want Packet capture analysis Project Description: Need assistance in debugging some packet capture Skills required is C Programming

Can you think of a condition where your program would crash without attaining the breakball, which you set at the straining of main()? A: C++ let for dynamic initialization of g

I am working on a program that allows a player to play a game against the computer. In this game the player can only chose to draw 1, 2, or 3 toothpicks. How do I make restrictions

Q: When should you employ multiple inheritance? A:There  are  three  acceptable  answers:-  "Rarely," "Never," and  "while  the  problem  domain cannot be modeled accurately any