rand in c

[ad_1]

random number c
#include 
#include 

int main(){
   /*this is the seed that is created based on how much
  time has passed since the start of unix time.
  In this way the seed will always vary every time the program is opened*/
	srand(time(NULL));
  	int max;
  	int min;
  	int n;
  	printf("give me the minimum number?\n");
   	scanf(
	printf("give me the maximum number?\n");
	scanf(
  	//method to derive a random number
  	n = rand()
  	printf("random number
  	return 0;
}
  
rand in c
1234
1221.
qqqqqq





aaa

[ad_2]

Please follow and like us:
Content Protection by DMCA.com