Question: Write a c++ program that prompts user for file name and displays the number of words in the file. Then prompts user to enter a

Write a c++ program that prompts user for file name and displays the number of words in the file. Then prompts user to enter a number and then displayed that specified word.( Ex: user enter 4 program display the fourth word in the file) **** DO NOT USE AN ARRAY**** it's supposed to be a simple program but I have no idea how to do this since I can't use an array

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 Databases Questions!