Question: please write this by java, thanks for your help Example pseudo-code for the string filter could be characterized as: For each character in the original

please write this by java, thanks for your help

please write this by java, thanks for your help Example pseudo-code forthe string filter could be characterized as: For each character in the

Example pseudo-code for the string filter could be characterized as:

For each character in the original string

Store the current char cast as an integer

Determine if the current char is upper-case

Convert to lower case and concatenate to the new string

Otherwise if the current char is lower case or a digit

Concatenate to the new string

Next char

Write a program to determine if an input string is or is not a palindrome. A Palindrome is a string that reads the same when read forward or backward, excluding punctuation and spaces. For example, the following are classified as palindromes Madam, I'm Adam Go deliver a dare, vile dog! Campus motto: "Bottoms up, Mac." Dennis and Edna sinned 1101011 Here is the main method for this assignment public static void main( String args) System.out.print( "Enter a palindrome to test: "i Scanner console new Scanner( System.in ); String instr = console.nextLine(); if ( isaPalindrome( instr )) System.out.printf ( "The input string, inStr; %s, is a palindrome . ", reverseStr( instr // must be recursive! System.out.println( else System.out.printf ( "The input string, inStr ) %s, is not a palindrome

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!