/*This program demonstrates the use of rand(), srand(unsigned int seed) seed value same non const*/ #include #include #include using namespace std; int main() { //cout << time(NULL) << endl; srand (time(NULL));// the initializer for rand(). At a unique time, we generate a random number corresponding to a unique number associated with time: time(NULL). for (unsigned int i =0 ;i < 1 ; i++) { //srand (i); //This initialization doesn't create a different number with every run. cout << "\n At time "<