first i thought of using character arrays then i had no clue, then using the integer array i tried to compare the numbers from the first place but i cant compare them when they are 2 and 3 digit numbers how should i compare them,
what logic is to be used?