Friday, 2 November 2012

Random Number Generator


// This Program will generate Random number up 12
#include <iostream>
using namespace std;
int main()
{
int run;
for(int n=0;n<=12;n++)
{
run= rand() % 13;
cout << "Numbers is " << run <<endl;
}
return 0;
}

No comments:

Post a Comment