Write the program with indentation and formatting style

Assignment Help C/C++ Programming
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.

Reference no: EM131132089

Questions Cloud

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..

Reviews

Write a Review

C/C++ Programming Questions & Answers

  Create program that uses functions and reference parameters

Create program that uses functions and reference parameters, and asks user for the outside temperature.

  Write a program using vectors and iterators

Write a program using vectors and iterators that allows a user to maintain a personal list of DVD titles

  Write the code required to analyse and display the data

Calculate and store the average for each row and column. Determine and store the values for the Average Map.

  Write a webservices application

Write a webservices application that does a simple four function calculator

  Iimplement a client-server of the game

Iimplement a client-server version of the rock-paper-scissors-lizard-Spock game.

  Model-view-controller

Explain Model-View-Controller paradigm

  Design a nested program

How many levels of nesting are there in this design?

  Convert celsius temperatures to fahrenheit temperatures

Write a C++ program that converts Celsius Temperatures to Fahrenheit Temperatures.

  Evaluate and output the value in the given base

Write C program that will input two values from the user that are a Value and a Base with which you will evaluate and output the Value in the given Base.

  Design a base class shape with virtual functions

Design a base class shape with virtual functions

  Implementation of classes

Implementation of classes Chart and BarChart. Class barChart chould display a simple textual representation of the data

  Technical paper: memory management

Technical Paper: Memory Management, The intent of this paper is to provide you with an in depth knowledge of how memory is used in executing, your programs and its critical support for applications.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd