Question: Please read the question carefully, each part asked for implementation using array,vector and stack. Ex. 1Stack, vector, queue, and array 1. Write three C++ functions

Please read the question carefully, each part asked for implementation using array,vector and stack.
Ex. 1Stack, vector, queue, and array 1. Write three C++ functions which read strings from the standard input and print them in the reverse order. The first program should be implemented using an array, the second one using a vector and the third one using a stack. Argue on the best choice in the README file. 2. Write three C++ functions which read strings from the standard input and print them in the input order. The first program should be implemented using an array, the second one using a vector and the third one using a queue. Argue on the best choice in the README file. Specifications Input: a single line containing space separated strings Output: a single line containing space separated strings Special rules: Add#include -assignment. h" - Do not include the main) function The function names should be exl_reverse array, ex1_ reverse_ vector, exlreverse stack, ex1_ordered_array, ex1 ordered_vector, and exl_ordered_queue
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
