help me plz , write a java program that reads a number and verifies if it has the same value when we read it from right to left and from left to right. my program should display "having the same value so it is readable from both sides" if the condition is true and "having different values so it is not readable from both sides" if the condition is false.
example:
1525251: "having the same value so it is readable from both sides".
4548446: "having different value , so it is not readable from both side".
plz help me the solve should be with out using method just array . like int[] myarray=new int ......