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
How would I make a maze in C++? I would prefer to use the recursion maze generation algorithm if possible, thanks!

C Program for REVERSE THE WORD IN STRING #include conio.h> #include stdio.h> #include string.h> void main() {           char a[50],b[25][25],temp;           i

Blanche has a fashion design company called BLB_Best_Clothing Pty. That she has just opened recently

Write a program to calculate the total resistance of a series or parallel circuit. The maximum number of resistors is two.   We need to decide whether the user wants the to

programing code on board coloring in clanguage

BACKGROUND: FILE SYSTEMS  In a computer, a file system (sometimes written filesystem) is the way in which files are named and where they are placed logically for storage and ret

Create a program that will accept 3 numbers. The first number (num1) is the common difference and the second number (num2) is the starting number and the 3rd number (num3) is the m

why is programming is needed now-a-days.what is the benefit of colleges to apply heavy loads on students head.


draw the flow chart to print the fibonacci series upto n th terms