Question: Write a C++ program that generates random words from a training set.. Do not hard-code the training set! Read it from a file. A suggested
Write a C++ program that generates random words from a training set.. Do not hard-code the training set! Read it from a file. A suggested format for the input file is:

Prompt the user for the name of the input file and the number of iterations (this program will run forever without this limit!). Either prompt the user for the name of the output file, or inform the user of the name before exiting.
6 a em rst eat mate meet rate seat stream tame team tear Here are some suggestions for constants, array declarations, and helper functions (note that use of global variables will be heavily penalized) #include
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
