Discount Get CIS 355A ALL WEEKS Solution ONLY $80.98 $122.70
CIS 355A Week 1 STEP 1 - Write a Java program named ShowEscapeSeq... [$6.12]
CIS 355A Week 1 STEP 2 - Write an application called Circle.java ... [$6.13]
CIS 355A Week 1 STEP 3 - Write an application called PracticeArit... [$6.13]
CIS 355A Week 2 STEP 3 - Write a program called Diamond.java that... [$6.13]
CIS 355A Week 2 STEP 1 - Large - Write a Java application program... [$6.12]
CIS 355A Week 2 STEP 2 - A palindrome is a sequence of characters... [$6.13]
CIS 355A Week 3 STEP 1 - Create a class called Cylinder.java that... [$8.88]
CIS 355A Week 3 STEP 2 - Create a program called Date.java to per... [$8.89]
CIS 355A Week 4 STEP 1 - Write a program called InheritanceTest.j... [$7.66]
CIS 355A Week 4 STEP 2 - Write a program called DayGui.java that ... [$7.66]
CIS 355A Week 4 STEP 3 - Write a program called OfficeAreaCalcula... [$7.66]
CIS 355A Week 5 STEP 1 - Write a program named GuessGame.java tha... [$13.99]
CIS 355A Week 5 STEP 2 - Write a program called TextFileIO.java t... [$8.22]
CIS 355A Week 6 STEP 1 - Write a Java GUI application called Inde... [$7.66]
CIS 355A Week 6 STEP 2 - Write a Java GUI application Index2.java... [$7.66]
CIS 355A Week 6 STEP 3 - Write a program called ThreeArrayLists.j... [$7.66]
Get Selected Weeks Solution with ONLY NOT Add Selected Tutorials To Cart
CIS355A CIS 355A CIS/355A - Week 2 - STEP 2 - A palindrome is a sequence of characters that reads the same backward as forward. For example, each of the following five-digit integers is a palindrome
    CIS355A CIS 355A CIS/355A - Week 2 - STEP 2 - A palindrome is a sequence of characters that reads the same backward as forward. For example, each of the following five-digit integers is a palindrome

CIS355A CIS 355A CIS/355A - Week 2 - STEP 2 - A palindrome is a sequence of characters that reads the same backward as forward. For example, each of the following five-digit integers is a palindrome

$6.13

STEP 2: Palindrome (15 points)

 

A palindrome is a sequence of characters that reads the same backward as forward. For example, each of the following five-digit integers is a palindrome: 12321, 55555, 45554, and 11611. Write an application called Palindrome.java that asks the user to enter in a five-digit integer and determines whether it is a palindrome. If the number is not five digits long, display an error message dialog indicating the problem to the user. When the user dismisses the error dialog, allow the user to enter a new value.

Your program will have the following four methods

  1. main() method, which controls the execution of the program;
  2. retrieveInput() method, which prompts and retrieves the input values;
  3. check() method, which determines whether it is a palindrome; and
  4. display() method, which displays the result.

Grading Rubric

Palindrome

Points

Description

Standard header included

1

Must contain program’s name, student name, and description of the program

Program compiles

1

Program does not have any error

Program executes

1

Program runs without any error

Program contains main method

1

Program contains main method

Program contains retrieveInput() method

2

retrieveInput method exists, retrieves the user input, and checks if input is numeric and has five digits

Program contains check() method

2

check method exists and checks if number entered is a palindrome

Program contains display() method

2

display method exists and displays the result if palindrome or not

Value entered is numeric and has 5 digits

2

Program validates input to make sure it is numeric and has five digits

Correct output is displayed

3

Program displays the correct message for the number entered

Subtotal

15

 

Solution contains java source file (*.java), class file (*.class) and screenshot

You can using any java IDE, create new project and add all java source code to src folder and run programs.

If you have more question, please contact me via email support@extutorials.com

I will help you any time

Thanks

Attached Files

Move over [ preview ] file name to preview content in it!

Write a review

Your Name:


Your Review: Note: HTML is not translated!

Rating: Bad           Good

Enter the code in the box below:



PURCHASE SAVE
2 Tutorials 10%
3 Tutorials 13%
4 Tutorials 16%
5 Tutorials 19%
6 Tutorials 22%
7 Tutorials 25%
8 Tutorials 28%
9 Tutorials 31%
10 Tutorials 34%
add url more

9MZQASHWN73B