Question: Complete CapVowels ( ) , which takes a string ( c h a r * * ) as a parameter and returns a new string

Complete CapVowels (), which takes a string (char**) as a parameter and returns a new string (char**) containing the string parameter with
only the first occurrence of each of the five English vowels (a,e,i,0, and u) capitalized.
Hints: Begin CapVowels () by creating a newly allocated string with the same size as the string parameter. Use strlen () to obtain the
length of a string.
Strings are by default stored using ASCII encoding. Consider how you can switch between lowercase and uppercase letters using this
information
Ex: If the input is:
management
the output is:
Original: management
Modified: mAnagEment
LAB
ACTIVITY
27.11.1: 2/6 LAB: Capitalizing vowels
main.cpp
Load default template...
#include ??****?%s???
?n
?n
?n
 Complete CapVowels (), which takes a string (char**) as a parameter

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!