Performs various operations on strings

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

Code a CharConverter class that performs various operations on strings.

It should have the following two public member functions to start with.

• The uppercase member function accepts a string and returns a copy of it with all lowercase letters converted to uppercase.

If a character is already uppercase or is not a letter, it should be left alone.

 • The properWords member function accepts a string of words separated by spaces and returns a copy of it with the first letter of each word converted to uppercase.

Code a simple program that uses the class. It should prompt the user to input a string. Then it should call the properWords function and display the resulting string. Finally, it should call the uppercase function and display this resulting string. The program should loop to allow additional strings to be converted and displayed until the user chooses to quit

Reference no: EM132075120

Questions Cloud

What is the importance of creating your own data types : What is the importance of creating your own data types? What are the benefits and drawbacks from developing your own data types?
What was the original estimated life of the machine : On 1/1/16 Volcano sold the machine for $40,000. A gain of $20,000 was recorded. What was the original estimated life of the machine
Output various methods of passing structure variables : Can someone please explain with examples of source code and output various methods of passing structure variables as arguments to functions in C++.
Develop a risk management and contingency plan : BSBFIM601 : Develop a written procedure that details the recording systems and documentation process you will follow for monitoring and controlling.
Performs various operations on strings : Code a CharConverter class that performs various operations on strings.
What are parallel arrays : What are Parallel Arrays? "Also Provide C++ Source Code Example Which Can Compile"
Three-step process of using a file : 1: How can you get the hexadecimal memory address of a variable (physical location in memory)?
Hourly pay rate and number of hours worked : Write, an Employee class that has data members for hourly pay rate and number of hours worked.
Create a room class with the following attributes : Demonstrate composition. Create .a Room class with the following attributes.

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