Heres an example:
I produce the array 89 9 78 53 2
How do I make it so it reads 89 09 78 53 02
I need this because I am doing an encryption assignment saying:
"A = 0, B = 1, C = 2, …Z = 25
ID is converted to 0803 "
The way it is now I have "ID" = 83 when I need it to be 803.
I could have it as A = 00, B = 01, C = 02,... all the way up to 09 but I don't know how to keep that 0 in front.
There must be a way to do it like... if array[i] < 10 and is the second number... put a 0 before it? I don't really know how to do that.