I’ve run into a problem in Smallbasic where I need to convert letters to numbers and then add a “shift” to them (with a number from the user) and then apply the shift and convert it back to a encrypted message. Does anyone know how to solve this problem because I’m not so good with arrays and encoding.
Small basic coding Arrays Letterstonumbers
47 views Asked by Teach me the way At
1
One way to do the loop would be to use a For loop, and iterate through each letter of the message. For each letter, you would call the function that shifts the letter by the appropriate amount.