The reverse of each word, and a palindrome checker

Assignment Help C/C++ Programming
Reference no: EM13166336

give us the first letter of each word, the first half of each word, the reverse of each word, and a palindrome checker to see if the word is a palindrome. I would like for us to read in a list of words from a file, store them in a vector of strings, then process each one. In addition to each of the above functions (which is how you should write each of them), you need to write functions that tell me the number of 3 letter words, 4 letter words, 5 letter words, and those greater than 5 letters long. I would like for the code to display the palindromes and give the total number of palindromes in the list. I would like to have it display the longest word in the list as well as the shortest word. These words will be unique using the data file provided. Implement this as we have done with other projects in lab where we create a vector, read in the values from the file and store them in a temp variable, then push them onto the vector. Next write functions that will do the above requirements.

The following words should be saved to a file called "wordlist.dat" which is read in by the program:

hello

winner

miles

bob

anthropomorphic

racecar

lasagna

tunnel

there

noon

buster

muster

cannon

shoutitout

hannah

ollo

remember

clearance

disability

trendsetter

philanthropist

antidisestablishmentarianism

meter

elephant

chant

quadracycle

linear

rotational

madam

eye

it

eventually

concerted

forest

forgery

amalgamation

tarnation

confounded

higher

balance

checkpoint

career

ghost

stage

steppets

clog

remove

resend

growing

hilarious

gnome

found

home

are

fantastical

shark

 

 

Reference no: EM13166336

Questions Cloud

At what celsius temperature did water boil on the top : Mt. Kilimanjaro in Tanzania is the tallest peak in Africa (19,340 ft.). On a particular day, the barometric pressure at the top of the mountain was 330 torr. On that day, at what Celsius temperature did water boil on the top of the mountain?
How many grams of water where in the sample : A 45g piece of ice at 0 degree C is added to a sample of water at 21 degree C. All of the ice melts and the temp of water decreases to 0 degree C. How many grams of water where in the sample?
Explain what concentration of this base : What concentration of this base will produce a pH of 10.13?
At what temperature will it burst : a flask that can withstand an internal pressure of 2500 torr, but no more, is filled with a gas at 21.O C and 780 torr and heated. At what temperature will it burst?
The reverse of each word, and a palindrome checker : give us the first letter of each word, the first half of each word, the reverse of each word, and a palindrome checker to see if the word is a palindrome.
Compute the corresponding change : If the equilibrium constant for a one electron redox reaction at 298k is 8.7*10^4, calculate the corresponding change in G and Ecell
Index of the largest fibonacci number : What is the index of the largest Fibonacci number that can be represented exactly as a MATLAB double-precision quantity without roundoff error
Compute the balances of the factory overhead accounts : Journalize the entries to record the operations, identifying each entry by letter. Compute the July 31 balances of the inventory accounts. Compute the July 31 balances of the factory overhead accounts.
What is the molarity of the prepared buffer : Calculate the pH of a solution formed by mixing 250 mL of 0.150 M NaHCO3 with 250 mL of 0.100 M Na2CO3. What is the molarity of the prepared buffer?

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