Write a program which asks you uo enter a name in the form

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

Please write the code in understandable C++ Language.

I am not very familiar with string, getline and substrings that kind of stuff, so I am looking for a solution to my homework so I can understand the subject better. Thank you!

Here is the question:

Write a program which asks you uo enter a name in the form of first middle initial last. So you might enter for example samuel p. clemens.

Use getline to read in the string because it contains spaces. Also, apparently the shift key on your keyboard doesn't work, because you enter it all lower case.

Pass the string to a function which uses .find to locate the letters which need to be upper case and use toupper to convert those characters to uppercase.

The revised string should then be returned to main in the form Last, First MI where it will be displayed.

Reference no: EM132101295

Questions Cloud

Create five classes that extend a parent class : Create a file that contains information about each fighter - have at least 10 entries. Create 5 classes that extend a parent class.
Invention of steam power change industrialization : How did the invention of steam power change industrialization?
Violence of the french revolution : What warnings might the violence of the French Revolution be telling us about modern Western society?
Culmination of the age of reason : Why is the American Constitution viewed by historians as the culmination of the Age of Reason?
Write a program which asks you uo enter a name in the form : Write a program which asks you uo enter a name in the form of first middle initial last. So you might enter for example samuel p. clemens.
Plot the data as discrete points : Plot this curve on the same gure as the circles above and manually change the y-axis limits to [-50; 200].
Social system rather than solely a trade route : Why is the Silk Road be afforded as a social system rather than solely a trade route?
What messages does image convey? : How did Constantine invoke the iconography of Sol Invictus (image A)? What messages does this image convey?
Write a program that reads student scores : Write a program that reads student scores, gets the best score (BestScore), and then assigns letter grades based on the following scheme.

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