#For loop in method giving me red underlines

13 messages · Page 1 of 1 (latest)

ivory elm
#

Im making a method that takes in an int array and returns in and the for loop inside is red, buit when i make the same method in the main method it works just fine

wintry pollenBOT
#

This post has been reserved for your question.

Hey @ivory elm! Please use /close or the Close Post button above when you're finished. Please remember to follow the help guidelines. This post will be automatically closed after 300 minutes of inactivity.

TIP: Narrow down your issue to simple and precise questions to maximize the chance that others will reply in here.

ivory elm
#

can i ss ?

ivory elm
#

i did the same method in my main method and it works

#

but when i make custrom methdo it dont work

void stream
#

Just a[i] no dot

ivory elm
#

pikaDuh im dumb

ivory elm
void stream
#

No probs

#

Close post when done