/********************************************************************************************
random1.cpp
	Jim Millard
	for CO311

    Generating Random Numbers

********************************************************************************************/
#include <iostream>
#include <string>
using namespace std;

#include <time.h>

void main()
    {
    int NewNumber = 0;

    time_t t;
    srand((unsigned) time(&t));
//    srand(1); // use this for debugging ONLY

    for (int i = 0; i < 20; i++)
        {
        NewNumber = rand();
        cout << NewNumber << endl;
        }
    }