✅ Trying to use "Return" and wont work
I'm pretty confused on how to use "Return;" while using the "For loop process" and whenever I tried using "else" and "ifs" it wont work.
can anyone help me with this problem?
9 Replies
What are you expecting to accomplish by using
return
?to close the prompt
It should be exiting the program here. So technically it closes the prompt.
yeah but instead of doing that it starts continuing instead of closing it 💀
Can you $paste your code so I can try to run it over here?
If your code is too long, you can post to https://paste.mod.gg/ and copy the link into chat for others to see your shared code!
BlazeBin - txgmvajhrzfq
A tool for sharing your source code with the world!
if (i == 2)
You want that instead. You're using a bit of a weird pattern.
for (int i = 1; i <= 3; i++)
or change your loop conditionsPoggers it worked
thx for the help
With such a small issue didnt noticed thx