hi, i'm writing a program that is using 4 arrays of pointers to char,called article,noun,ve rb and preposition.the program should create a sentence by selecting a word at random from each array in the following order:article,n oun,verb preposition,,ar ticle and noun.as each word is picked,it should be concatenated to the previous words in an array that is large enough to hold the entire sentence. the words should be separated by spaces.when the final sentence is output,it should start with a capital letter and end with a period.the program should generate 20 such sentences.
what i have deduced from this statement is that ill be using 4 arrays of pointers.so may you help me to have an idea of where to start because i don't have an idea.thanks
what i have deduced from this statement is that ill be using 4 arrays of pointers.so may you help me to have an idea of where to start because i don't have an idea.thanks
Comment