Question: Create a Java class that will accept a number from the user The input number must be a positive number greater than 99. Your class
Create a Java class that will accept a number from the user
The input number must be a positive number greater than 99.
Your class must include a method that is called from main
The method must determine if it is a palindromic number (the number is the same when read in either direction) You must not convert the number to a string and you cannot use a string variable for the input value.
The method must display an appropriate message in both cases (if the number is palindromic or non-palindromic)
Example:
input: 12321
Output: 12321 is a palindromic number
input: 23456
Output: 23456 is non-palindromic
Step by Step Solution
There are 3 Steps involved in it
Heres a Java class that meets the requirements java import javautilScanner public class PalindromicN... View full answer
Get step-by-step solutions from verified subject matter experts
