Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Create a program for this using C++ code Exercise 2: Array of strings 1. Create an array of strings. Let the user decide how big
Create a program for this using C++ code Exercise 2: Array of strings 1. Create an array of strings. Let the user decide how big this array is, but it must have at least 1 element. Prompt them until them give a valid size 2. Prompt the user to populate the array with strings 3. Display the longest and shortest string Input an array size for you words array:5 Now please enter 5 words Input a word: apples Input a word: eat Input a word: banana Input a word: spectacular Input a word: no The longest word : spectacular The shortest word is: no
Create a program for this using C++ code
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access with AI-Powered 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