Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CPP

Generate a random number C++

int i=rand()%10;
cout<<"Random number::"<<i<<endl;

Output::
Random number::6
Source by www.codespeedy.com #
 
PREVIOUS NEXT
Tagged: #Generate #random #number
ADD COMMENT
Topic
Name
4+9 =