Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Make sure the solution contains the keyword _ _ define - ocg _ _ in at least one comment in the code, and
Make sure the solution contains the keyword defineocg in at least one comment in the code, and make sure at least one of the variable is named "varOcg". Have the function StringChallengestr take the str parameter being passed and modify it using the following algorithm. Replace every letter in the string with the letter following it in the alphabet ie c becomes d z becomes a Then capitalize every vowel in this new string a e i o u and finally return this modified string.Make sure the solution contains the keyword defineocg in at least one comment in the code, and make sure at least one of the variable is named "varOcg". Have the function StringChallengestr take the str parameter being passed and modify it using the following algorithm. Replace every letter in the string with the letter following it in the alphabet ie c becomes d z becomes a Then capitalize every vowel in this new string a e i o u and finally return this modified string.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started