Question
Write a C++ program to declare one-dimensional character array, called MyArray of length 150; the array should be filled by using the following string variable
Write a C++ program to declare one-dimensional character array, called MyArray of length 150; the array should be filled by using the following string variable "The skill of the writing lies in the way it wraps past and present, conveying the episodic, disjointed, random nature of memory." Using functions , the program should enable the user to choose from the following menu after filling MyArray Capitalize and display all characters found at MyArray s Even indices Copy and display all characters found at MyArray s odd indices to an array called MyOdds Extract and display all vowels (a, e, i, o, u) from MyArray Display the word that includes the highest number of the letter a from MyArray
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