CPPForSchool.com: String Set 1 Assignment 8
8.
Write a program to reverse a string.
At a glance, this task appears to be something I have already completed in a prior assignment. However, after further examination, I quickly discovered that there is another way to accomplish this task. Originally, I created a function that mimicked the tutorials, but I found that it would not be able to accomplish this particular task. Admittedly, I was quite lost so I went ahead and began reviewing the sample source code. Below is my rendition of the source code.
At a glance, this task appears to be something I have already completed in a prior assignment. However, after further examination, I quickly discovered that there is another way to accomplish this task. Originally, I created a function that mimicked the tutorials, but I found that it would not be able to accomplish this particular task. Admittedly, I was quite lost so I went ahead and began reviewing the sample source code. Below is my rendition of the source code.
Comments
Post a Comment