// july16ex1.cpp : Defines the entry point for the console application.
//

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

int main(int argc, char* argv[])
{
    int times, letter, vowel, let2;

	srand(time(NULL));

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

       printf("Word # %2d ", times);

       letter = rand() % 26  + 65;
	   printf("%c", letter);

	   vowel = rand() % 5  + 1;   /* nums 1 - 5  */

	   switch(vowel)  {
	      case 1: printf("a"); break;
	      case 2: printf("e"); break;
	      case 3: printf("i"); break;
	      case 4: printf("o"); break;
	      case 5: printf("u"); break;
	   }  /* end switch vowel */

       let2= rand() % 26 + 'a';

	   printf("%c", let2);

	    printf("%c", rand() % 26 + 'a'  );

	   printf("\n");

	}  /* end for times */



	return 0;
}