Question: * 31%)10 1:38 PM elearning.uaeu.ac.ae Labour Day o1. Write a method, palindrome.), that processes a line of text and determines whether or not it is
* 31%)10 1:38 PM elearning.uaeu.ac.ae Labour Day o1. Write a method, palindrome.), that processes a line of text and determines whether or not it is a palindrome. Ignore white space, punctuation, and capitalization. For example, "A man, a plan, a canal, Panama!" is a palindrome. You may assume that each line of text is less than 100 characters The output of your program should be one of the following: It is a palindrome or it is not a palindrome A sample of input/output: It is a palindrome Another sample of input/output A man, a plan, a canal, Panama! It is a palindrome Another sample of input/output madam, I am Adam It is not a palindromo Another sample of input/output A man, a plan, a canal: Panama! It is a palindrome 2 Write a method, reverseDigits that takes an integer as parameter and returns the number with the digits reversed. Here is a sample of input/output: Enter an integer: 4567 4567 after digits reversed- 7654 Enter an integer: -45 -45 after digits reversed- 54 Enter an integer: 980 980 after digits reversed 89 o3. Write a method, findEpowX to calculate the value of e Where n and x are supplied by the user. 04 Write the main methods to test the 3 methods you wrote in Q1, Q2 and Q3
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
