Drill 2 Exercise 1. Create a file named StackOfWords.txt that contains 15 five-letter words of your own choices separated each by a new line and are arranged alphabetically. Continue by doing a program that will insert a word from the file to the stack if there are more than two vowels present in each word. Display the words placed inside the stack in alphabetical manner. 2. Write a C++ program to implement a queue using an array with enqueue and dequeue operations.

icon
Related questions
Question

All in C++ please. Thank you.

Drill 2 Exercise
1. Create a file named StackOfWords.txt that contains 15 five-letter words of your own choices
separated each by a new line and are arranged alphabetically. Continue by doing a program
that will insert a word from the file to the stack if there are more than two vowels present in
each word. Display the words placed inside the stack in alphabetical manner.
2. Write a C++ program to implement a queue using an array with enqueue and dequeue
operations.
Transcribed Image Text:Drill 2 Exercise 1. Create a file named StackOfWords.txt that contains 15 five-letter words of your own choices separated each by a new line and are arranged alphabetically. Continue by doing a program that will insert a word from the file to the stack if there are more than two vowels present in each word. Display the words placed inside the stack in alphabetical manner. 2. Write a C++ program to implement a queue using an array with enqueue and dequeue operations.
Expert Solution
steps

Step by step

Solved in 2 steps

Blurred answer