Answered step by step
Verified Expert Solution
Link Copied!

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

image text in transcribed
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

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access with AI-Powered Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Students also viewed these Databases questions