Question: Vectors are the same as dynamic arrays with the ability to resize itself automatically when an element is inserted or deleted, with their storage being
Vectors are the same as dynamic arrays with the ability to resize itself automatically when an element is inserted or deleted, with their storage being handled automatically by the container. You can use it by including #include
Write a C++ program that performs the following.
-
Create a vector object to store Strings.
-
Get strings from the console and store them in the vector object until the user presses q or Q.
-
Print the input string count to the console
-
Print all the palindrome strings to the console
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
