Question: c++ please include comments Consider an array of 25 elements. Each element has one of the following characters; 'O', 'Y, 'R Initialize the array by

c++ please include comments
Consider an array of 25 elements. Each element has one of the following characters; 'O', 'Y, 'R Initialize the array by reading input of the characters - must be random If any character occurs 3 or more times in a sequence, replace the characters with 'x' and output the index of the first character in the sequence
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
