Increment a number by 11 only !
Posted: Fri Oct 16, 2015 9:30 am
Need help on the below requirement -
I have a 12 digit number in that last 5 digits has to be incremented by +11. This needs to happen 10,000 times. Is there a way to do it using sort.
I am giving a example below -
12345678911 == example for first number based on this it should increment by 11 and generate 10, 000 numbers.
12345678922 == next number incremented by 11 (11 + 11 = 22)
12345678933 == next number incremented by 11 (22 + 11 = 33)
----
----
Please help.
Thanks.
I have a 12 digit number in that last 5 digits has to be incremented by +11. This needs to happen 10,000 times. Is there a way to do it using sort.
I am giving a example below -
12345678911 == example for first number based on this it should increment by 11 and generate 10, 000 numbers.
12345678922 == next number incremented by 11 (11 + 11 = 22)
12345678933 == next number incremented by 11 (22 + 11 = 33)
----
----
Please help.
Thanks.