Create a Java class that will accept a number from the user The input number must be
Fantastic news! We've Found the answer you've been seeking!
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 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
Related Book For
Income Tax Fundamentals 2013
ISBN: 9781285586618
31st Edition
Authors: Gerald E. Whittenburg, Martha Altus Buller, Steven L Gill
Posted Date: