Basically, I need to do a program that lets me count the number of letters, numbers, spaces and special characters in an inputted string. Then, said program should be able to take the upper cases letters from the string to lower case and vice versa.
I'm still trying to remember how to code, and I'm stuck on the last part (the cases part).
Lines 27 and 32 have no effect. tolower and toupper have return values that must be used.
Lines 28, 33, and 36 make no sense. You're taking the current value of str[i] and adding the value of let to it. Presumably those should be: str2[i] = let;