The user will input a string and the program will return


Task 1

Implement a Queue on a char [] array. Do not use ::Queue:: class from the STD library for this example.

The user will input a string and the program will return the string with each letter in the string duplicated. Displaying correct Queue implementation.

Utilize the conventional static methods as needed.

empty()

push_back()

pop_front()

Task 2

Implement a Queue using a vector or the STD ::queue:: class

Note the difference in what it takes to implement using a static char[] array vs a vector or the STD ::queue:: class

The user will input a string and the program will return the string with each letter in the string duplicated. Displaying correct Queue implementation.

Utilize the conventional static methods as needed.

empty()

push_back()

pop_front()

Sample Execution

Please input String:

happy

hhaappyy

Request for Solution File

Ask an Expert for Answer!!
Computer Engineering: The user will input a string and the program will return
Reference No:- TGS02943930

Expected delivery within 24 Hours