A great programming assignment for entry level C++ students who have learned about arrays and strings. I begin by teaching a simple example of a ROT-13 cypher since a similar algorithm can be used to solve both problems. This gets students very comfortable with C++ array syntax, and parallel arrays. You can also use this to make sure students are comfortable with the different data types in C++.
Product Info: You will need the ability to extract zip files to use this product, it comes with a PDF and .docx of the programming assignment, and also includes two C++ solutions. One which is the basic solution, and one which is the solution to the extra challenges. The code for the extra challenges is commented. I coded this using Visual Studio, but besides the “system(‘pause’);” code it should work on other operating systems.