First of all you have to declare two variables .
first variable contains the integer value that value will increment
automatically.
second variable contains the character value. after that you have to handle the
every stage of that value . For this you have to create separate class to handle
this variables