Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

THE CHALLENGE ILAMINATETET MIT Your task is to write a simple palindrome word, number and sentence detector. You may write your solution in the programming

image text in transcribed
THE CHALLENGE ILAMINATETET MIT Your task is to write a simple palindrome word, number and sentence detector. You may write your solution in the programming language of your choice. You can click here to visit a website that hosts a palindrome-ness solution just to prove to yourself it can be donel Your solution doesn't have to be so fancy! Your program should REPEATEDLY do the following: Ask the user to input a line of text (up to 80 characters) from the keyboard. If the only input is the digit or word zero (that is, either 0 or zero) then quit; otherwise Echo the input text back to the user EXACTLY as entered. Tell the user whether the input IS A PALINDROME or IS NOT A PALINDROME. Your hands-on solutions are awarded points for exhibiting certain features. For this challenge, I will be looking for the following features. (2 points possible for each of 5 features) "loops" to repeatedly ask for input "terminates" as specified correctly accepts input (yells if the input is too long or null) correctly echoes input outputs answer (palindrome or not) (2 points possible for each of 6 test cases) Your program must produce the correct output for the following test cases. You must input the cases exactly as shown below, including capitalization, spaces, punctuation, etc. NOon (IS A PALINDROME) 2020 (IS NOT A PALINDROME) tomorrow (IS NOT A PALINDROME) laminate pet animal (IS A PALINDROME) This is the day the Lord has made. (IS NOT A PALINDROME) Too bad I hid a boot (IS A PALINDROME) THE EVIDENCE (4 points possible for each of evidence items) Submit2tems

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

OCA Oracle Database SQL Exam Guide Exam 1Z0-071

Authors: Steve O'Hearn

1st Edition

1259585492, 978-1259585494

More Books

Students also viewed these Databases questions

Question

Explain the factors that determine the degree of decentralisation

Answered: 1 week ago

Question

What Is acidity?

Answered: 1 week ago

Question

Explain the principles of delegation

Answered: 1 week ago

Question

State the importance of motivation

Answered: 1 week ago

Question

Discuss the various steps involved in the process of planning

Answered: 1 week ago