Question: in C + + , given an array of capital letters, change the array so that every other letter is lowercase. Use a subtraction method

in C++, given an array of capital letters, change the array so that every other letter is lowercase. Use a subtraction method and use only one return statement. do not add or change parameters and do not use static_cast
example input:
[L, V, F, D, C]
example output:
[L, v, F, d, C]

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!