Question: 2. (20 points) Write an algorithm (pseudocode) to replace every second character with its upper-case representation. Assume that a list filled with lower-case letters

2. (20 points) Write an algorithm (pseudocode) to replace every second character with its upper-case representation. Assume that a list filled with lower-case letters is already provided. For example: Having chars['h', 'e', '1', '1', '0', ['h', 'e', '1', '1', 'o', the algorithm, the array will be, chars 'M', 'a']. = 'e', 'm', 'm', 'a']. After running [h', 'E', '1', 'L', 'o', 'E', 'm', The algorithm should output the final array.
Step by Step Solution
There are 3 Steps involved in it
solution Here is the pseudocode for the algorithm that replaces eve... View full answer
Get step-by-step solutions from verified subject matter experts
