Question: write a c++ program. . . Write a C++ program that does the following: Outputs your formal name Outputs your preferred name to be called.

write a c++ program. write a c++ program. . . Write a C++ program that does

. . Write a C++ program that does the following: Outputs your formal name Outputs your preferred name to be called. (This may be the same as above) Outputs what would you like to learn in this class? Then print a line of 50 or more stars(**) as a break between sections. Asks the user the following question and wait for a number answer, "What size word do you want?" . Make sure that they input a number between 1 and 30. Use an input validation loop. Open up the fle: Wordlist.txt a This file contains a large number (> 150000) of single English words. Count how many words there are of that length and print it out. . In order to find the size of a string . #include Then use strname length) to get the length of a string For examplex. myString length: Close the file Create an array the size of your count or create a vector . For an array, you will need to use a pointe to get it of the correct size Reopen the Wordlist.txt nle Read all the words of that are the same size as the indicated size into the array/vector. Write all the words from that array onto the screen AND into a file backward. The file name should be WordFile2.txt So for example if the user selected words of size 3, then I should see "200" before I see "AND Close both files Open the original file one more time Find the largest word in the list and print it out Some Rubric (7) 1998 190 Comment Header 0 No Marks Full Marks 3109 Full Mars No Mars Counting the words Pat Full Market Now 291

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!