Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Please do it in C++. Thanks in advance! 1. 2. Student will be able to use getline, substr, find, erase, and replace to manipulate strings

image text in transcribed

Please do it in C++. Thanks in advance!

1. 2. Student will be able to use getline, substr, find, erase, and replace to manipulate strings Each project the student creates must follow the commenting requirements below for full credit. The programmer must replace the text in italics with information specific to the program // Class name: project name. // Student Learning Objectives: Learning objectives of the program / Class author: name of programmer // Date created: date that the project was initially created. // Date modified date that the project was most recently modified. Assignment: Write a program that inputs a string from the user, and then tell the user whether or not it isa palindrome 1. 2. Your program should ignore the case of the letter. In other words, an "a" and an "A" should be treated the same A palindrome is determined by considering only alphabetic characters (a - z, A - Z) and numbers (0-9) as valid text 3. 4. An input string consisting of a single character is not considered to be a palindrome 5. Your program should keep prompting the user for strings and printing whether or not the strings are palindromes until the user enters "Q" or "q" (which will signal termination of the program) Instructions 1. 2. Create a project called Palindrome Use these sample phrases as inputs for your run outputs: radar lewd did I 1ive evil I did dwel i 1ike c plus plus straw no too stupid a fad i put soot on warts

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database And Expert Systems Applications 15th International Conference Dexa 2004 Zaragoza Spain August 30 September 3 2004 Proceedings Lncs 3180

Authors: Fernando Galindo ,Makoto Takizawa ,Roland Traunmuller

2004th Edition

3540229361, 978-3540229360

More Books

Students also viewed these Databases questions

Question

3. Outline the four major approaches to informative speeches

Answered: 1 week ago

Question

4. Employ strategies to make your audience hungry for information

Answered: 1 week ago