Question: Please do in cpp Invert String Case [10 points) Write a function in your header file, with the following signature: std::string transform_case( std::string ) which

Please do in cpp

Please do in cpp Invert String Case [10 points) Write a function

Invert String Case [10 points) Write a function in your header file, with the following signature: std::string transform_case( std::string ) which inverts the case of the input string and returns the result. Inverting the case means, transforming uppercase letters into lowercase letters, and vice-versa, with the exception of the letter 'E', which should always be in uppercase, and the letter 'A', which should always be unmodified. Example: "Hello World" transforms to "HELLO WORLD", and "Alphabet" transforms to "ALPHABET", and "Earth" transforms to "EaRTH

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 Databases Questions!