Ask your own question, for FREE!
Computer Science 15 Online
OpenStudy (anonymous):

Make and run a program that will accept not more than 30 characters and replace all the lower case letter to upper case and all the upper case to lower case.using string Sample output: The brown fox jumps over the lazy dog THE BROWN FOX JUMPS OVER THE LAZY DOG

OpenStudy (anonymous):

I think you are posting homework here. Nevertheless you should provide us with some more information about what language you want to be helped at. Using google i found out that the language could be C or PHP. You scan through the characters and if its ASCII value is between 97 and 122 in decimal, you substract 32 from its decimal ascii value. That way you must not care about any special cases like space or special characters.

Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!
Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!