// july8ex2.cpp : Defines the entry point for the console application.
// random number generator -- build

#include "stdafx.h"
#include "stdlib.h"
#include "time.h"

int main(int argc, char* argv[])
{
	
	int  times, numbah, new_numbah;

    srand(time(NULL));

	for (times=1; times<= 20; times++) {

		numbah= rand();
        
		new_numbah = numbah % 6 + 1;
		printf("Try # %d. You chose a %d, which translated is: %d\n", times, numbah, new_numbah);

	} /*end times*/

	return 0;
}