+ 1
Why does this code sometimes print strange characters or sometimes have sections with only 3 chars?
https://code.sololearn.com/c00FR11E59we/?ref=app iirc rand()%27 will result in a random number from 0 to 26 and not 27, so that's not the issue. Unless I'm wrong?
3 Answers
+ 1
%27 will give you values from 0 to 26 - which add up to 27 values.
The arrays only gave 26.
+ 3
đ
+ 2
me has a dumb
me no can brain today
Sorry for the inconvenience xD