Question: C program. indentations and relevant comments should be included . Q2: (Random Sentences) (25 points) Write a program that uses random number generation to create


C program.
indentations and relevant comments should be included .
Q2: (Random Sentences) (25 points) Write a program that uses random number generation to create sentences. The program should use four arrays of pointers to char called article, noun, verb and preposition. The program should create a sentence by selecting a word at random from each array in the following order: article, noun, verb, preposition, article and noun. As each word is picked, it should be concatenated to the previous words in an array large enough to hold the entire sentence. The words should be separated by spaces. When the final sentence
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
