Write a program that will prompt the user to type in a series of characters. Input these characters into a c-string (char array). For each character, if it is a letter, toggle the case (upper to lower case, or lower to upper case). All other characters leave as is. Print out the string before and after.
I i've been use:
islower(), isupper(), tolower(), and toupper(), and maybe isalpha(). to the help the coding.
In the for loop, use this format:
for (i=0; arrayname; i++)