Write a program to input both your Given and Family names
from the keyboard to a single string variable. Use a loop to
step through the characters in the variable to change all the
letters to lower case. The output should look something like
this:
Enter your name (first then last) then press enter
Name: quincy SHNORKS
Name: quincy shnorks
Add code to your program to process the string variable
holding your name to alter the name to have initial capitals.
Also output the initials.
Enter your name (first then last) then press enter
Name: quincy SHNORKS
Name: Quincy Shnorks
Initials: Q S
Hints:
Read in the name with gets()
Upper case ASCII is less than or equal to 'Z', but greater
than or equal to 'A'
Step through each character of the string using a
for loop
Change the case with toupper() and
tolower. To use them, you should
#include<ctype.h>