Reference no: EM131132089
Problem: Write a C++ program named acronym.cpp. (You may want to wait until after Thursday's closed lab to work on this problem)
The acronym for a given string is formed by combining the first letters from a series of words, as in this example:
"self contained underwater breathing apparatus" → "SCUBA".
Your program generates and displays the acronyms for each of the strings in a data file named "Acronym.dat". The output of your program should be of the following format:
Self contained underwater breathing apparatus → SCUBA
White anglo saxon protestant → WASP
...
North Atlantic Treaty Organization →NATO
The strings in the data file may have mixed upper and lower letters. You may assume that no hyphen and underscore, and no punctuation marks is present in the data file. The acronyms generated should all be in upper case letters.
Your program is required to have at least one user-define function. This function takes one string as input and returns the acronym corresponding to that string.
Download the data file from the course web page, and place the file in the project directory. Or, you can copy it into your project directory with command:
cp ~cen/data/Acronym.dat codelite-workspace-name/project-name/
Documentation and program indentation and formatting
• Write the program with indentation and formatting style as discussed in class, and given in the program requirement:
https://www.cs.mtsu.edu/~cen/2170/private/ola/programrequirements.pdf
• Write documentation for your programs as discussed in class and given in the program requirement.
Electronically submit the two programs in D2L Dropbox. You are only required to submit the two source files: perfect.cpp and acronym.cpp.
Leone corporation had the following transactions during
: Mar. 2 Issued 5,000 shares of $5 par value common stock to attorneys in payment of a bill for $30,000 for services provided in helping the company to incorporate.
|
Many economists and accountants argue that expensing
: Many economists and accountants argue that expensing of options is not necessary because the dilutive impact of options is accounted for by the increased number of shares. Do you agree with them?
|
List the archaeological evidence
: List the archaeological evidence for the connections between Osiris and the fact that the Egyptians mummified their dead.
|
What obstacles might you anticipate
: Post an analysis of what you would have done to turn a case of short-term thinking into strategic thinking and management, and what you would need to do to get others to be willing to follow your lead on this shift in thinking and managing. What o..
|
Write the program with indentation and formatting style
: Write the program with indentation and formatting style as discussed in class, and given in the program requirement. Write documentation for your programs as discussed in class and given in the program requirement.
|
What basis can hr leadership provide a logical rationale
: Write specific criteria (4-5) that could be used to assess potential opportunities that warrant change in the HR Operating Plan brought to HR by the CEO and provide rationale for your assessment criteria selection, e.g., alignment with the busines..
|
Prepare the entry for the issuance under the following
: The stock had a par value of $5 per share and was issued to attorneys for services during incorporation valued at $52,000.
|
Evaluate the components of the course project exercise
: State one important takeaway you learned from the organization that you examined for your Course Project. Evaluate the components of the Course Project exercise. Explain whether you feel this Course Project would be applicable in the real world for ..
|
What effect would the fact that the price of carlisle stock
: Ignoring any brokerage fees or dividends, what profit or loss will Ed make if he buys the option and the lowest price of Carlisle stock during the 90 days is $46, $44, $40, and $35? What effect would the fact that the price of Carlisle's stock slowly..
|