Question: 3 . Write a C + + program that does the following: a . Create a C + + file with the name problem 3

3. Write a C++ program that does the following: a. Create a C++ file with the name problem3.cpp. b. Prompt the user to enter a positive integer n that is at most 100, terminating the program if the user enters an integer that is less than 1 or more than 100. c. Read and store n words from the user. d. Print the n words in reverse order. Sample run of the program: How many words (at most 100)?5 Enter all word(s) below: Freddy and Max were absent I will now print your word(s) in reverse order: absent were Max and Freddy

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!