Hey guys,
I'm writing this program which creates a sentence from random words that are part of an array.
Code:
Ex. string Verbs[5] = { "ran", "jumped", "played", "danced", "played"}
I'm using also nouns, articles, prepositions to create all the parts of the sentence. The problem is when I create a story, I ask the user to input the number of lines they want an story to be.
Well the first letter of the story should be a capital letter, and the same thing for the rest of the sentences.
How could I read the fist character of the string and make it a capital letter, and of course I don't want to change the initialization.
Thank you