CPPForSchool.com: String Set 1 Assignment 9
9.
Write a program to convert a string in lowercase.
Originally, I was going to code this assignment using the "isupper" and "tolower" functions using the string library. However, that would not have been indicative of the assignment and tutorials. With that said, I went ahead and analyzed the course tutorial and coded the assignment accordingly. Admittedly, I am not 100% sure of what is occurring with the algorithm, but from what I understand it checks to see if the character set contains uppercase ASCII values. From there, it converts each letter accordingly.
Originally, I was going to code this assignment using the "isupper" and "tolower" functions using the string library. However, that would not have been indicative of the assignment and tutorials. With that said, I went ahead and analyzed the course tutorial and coded the assignment accordingly. Admittedly, I am not 100% sure of what is occurring with the algorithm, but from what I understand it checks to see if the character set contains uppercase ASCII values. From there, it converts each letter accordingly.
Comments
Post a Comment