Write a program that inputs two string variables

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

Question: (This is a version with input of an exercise) Write a program that inputs two string variables, first and last, which the user should enter with his or her name. First, convert both strings to all lowercase. Your program should then create a new string that contains the full name in pig latin with the first letter capitalized for the first and last name. Use only the pig latin rule of moving the first letter to the end of the word and adding "ay." Output the pig latin name to the screen. Use the substring and topper Case methods to construct the new name. For example, if the user inputs "Walt" for the first name and "Savitch" for the last name, then the program should create a new string with the text "Altway Avitchsay" and print it.

Reference no: EM131608704

Questions Cloud

Wap that takes as input the distance of the commute in miles : An automobile is used for commuting purposes. Write a program that takes as input the distance of the commute in miles, the automobile's fuel consumption rate.
Make an initial investment : If make an initial investment of $5000 at 3% per month compounded monthly. How much would it be worth in years?
Differing approaches to political theory : What are the advantages and disadvantages of the differing approaches to political theory?
Is this type of racial or ethnic profiling : What would you have done if you had been the Georgetown security guard in the case described in the introduction for Week Three
Write a program that inputs two string variables : (This is a version with input of an exercise) Write a program that inputs two string variables, first and last, which the user should enter.
Explore the most important step in the conversion process : Explain the key advantages and disadvantages of automating a manual accounting system. Explore the most important step in the conversion process.
What is the yield to maturity on treasury strips : What is the yield to maturity on a Treasury STRIPS with 9 years to maturity and a quoted price of 63.695?
What are the more challenging aspects : What seem to be the more rewarding aspects of being a project manager? What are the more challenging aspects?
Persuasive speech full sentence outline : Persuasive speech full sentence outline on cell phones at school. Do you think elementary and high school students should be allowed

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