Answered step by step
Verified Expert Solution
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
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 wartsStep by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started