reset password
Author Message
knagrec2
Posts: 51
Posted 16:19 Oct 02, 2018 |

Do we need to account for looping back to the letter a? Or do we assume that there will never be 26+ options?

kknaur
Posts: 540
Posted 16:36 Oct 02, 2018 |

You can assume there will be less than 26+ options, but good thinking.  This is the type of logic you want to be thinking about when you are designing programs...the outlier cases and how to guard against these things.