Difference between revisions of "Rand"

From questden
(Created page with 'Author of Tory's tower')
 
Line 1: Line 1:
 
Author of [[Tory's tower]]
 
Author of [[Tory's tower]]
 +
<pre>
 +
#include <cstdlib>
 +
#include <iostream>
 +
  using namespace std;
 +
   
 +
int main(){
 +
int Rand=rand();
 +
cout<<Rand<<endl;
 +
}
 +
</pre>

Revision as of 17:40, 17 July 2010

Author of Tory's tower

#include <cstdlib>
#include <iostream>
   using namespace std;
     
int main(){
 int Rand=rand();
 cout<<Rand<<endl;
}