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

  Express the definition of the class rectangletype

The definition of the class rectangleType and the definitions of the operator functions are.

  Compute sums for each of the two inventories

The object is to compute sums for each of the two inventories and generate a total inventory count for each one. i need to print out the total number of items found in each inventory, total counts and the average for each inventory.

  Program to count the number of heart beat

If a human heart beats on the average of once a second, how many times does the heart beat in a lifetime of n years? (Use 365.25 for days in a year). Write a program to count the number of heart beat.

  A typical individual who commits who commits hate crimes

a typical individual who commits who commits hate crimes whether it is against or aimed at the gaylesbian community

  Functionality in the application

When the application starts, it should display a message asking the user to enter either option d or v. The application should execute the following actions for the two options: d: The application should display the file extension of the stock det..

  Create shoutbox class for your virtual world.

The shoutOutRandomMessage() method will use a random number generator that selects one word from each data structure to form a random message

  Writer a program that allows the user to enter an unknown

writer a program that allows the user to enter an unknown number of characters stores those characters in a data

  Create a customer billing service in c

Create a Customer Billing Service in C using the concepts of functions, structures, pointers and file handling. The program must be able to add new customer accounts and search the existing accounts as well.

  Write program to declare the array of type float

Write down the c++ program which declares the array of 50 components of type float. Initialize array so that first 25 components are equal to square of the index variable.

  Write a function named putinorder

Write a function named "PutInOrder" that has 2 double reference parameters (say a and b). The function rearranges the values pointed to by a and b such that a points to the smallest value and b to the largest value.

  Write statements that assign random integers to the variable

Write statements that assign Random integers to the variable n in the following ranges.

  Requires the number of bits for the exponent

Write a program that requires the number of bits for the exponent and significant of a Floating Point representation; then requires two decimal real numbers and an operation either sum

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