Question: A number is palindrome if it reads the same from right to left and from left to right. For example, 121 is a palindrome but
A number is palindrome if it reads the same from right to left and from left to right. For example, 121 is a palindrome but 443 is not. We would like to have program that generates a 3-digits random integer number and determines whether it is a palindrome number.
-
Design an algorithm to solve the problem, use pseudocode to represent your algorithm?
-
Test your algorithm with 2 random number where one is palindrome and the other one is not.
-
Write a java program for your algorithm named Palindrome.java.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
