This question is mainly based on Block II – Unit 1 and it tests your ability to work with arrays.
Consider a 5-by-5 array of characters. Write a C++ program to accomplish each of the following
operations:
a. Declare the above array. [2 marks]
b. Read the array. [6 marks]
c. Find and print the number of vowels (a,e,o) in the off diagonal of the array. [17 marks]
d. Replace each non-space character in the array by its next character value in the alphabetic
order (Example: letter b will be replaced by c, letter M will be replaced by N, and so on).