The digits in the odometer reading are in the strictly increasing form.
The number of digits in the meter is provided by the user. For the next correct reading on the meter, increment the number till a valid reading is reached. For the previous reading on the meter , decrement the number till a valid reading is reached. No explicit data structuures have been used in the design.