Your IsIsogram function isn’t correct.
With the word being “plane” your loop does
l == l // 1, 1
// return false
The first part of the for
loop syntax is for initialising a variable within the scope of the for loop. It is only done at the beginning of the loop.
fo (int32 Index = 0, Comparison = Index + 1; ...)
Will just be initialising two variables to 0 and 1.
for (Index++; ...)
Would then increment the Index variable by one at the start of the inner loop so you’re just checking
Word[1] == Word[1]
Thanks you So much. Working well now. Cheers
1 Like
This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.