thank you for the response.
I played around with different for loops but I can’t get it to work.
I thought this would be the right way to do it:
for (int i=0; i < word.length; i++){
println(word[i]);
}
but it has no effect. it prints only one word.
what is interesting is that when I call printArray(word) after
it shows me every word. but like this:
[0] “president”
[0] “donaldtrump”
[0] “time”
[0] “family”
[0] “day”
[0] “health”
[0] “white”
[1] “house”
[0] “folk”
[0] “violence”
[0] “people”