hi guys here is the homework
3. Write a program that inputs a string and then converts each 1st letter of a word in the string into capital case. An example run of the program is shown below:
Enter string: introduction to programming
Output string: Introduction To Programming
By the way, unless the assignment or your professor otherwise specify, you do not need to use arrays for this. You can literally read in each character, decide what to do with it, and then print it out.