Hi everyone. I have to print array in this order 5,10,.., 30 (this isn't the problem using for loop), but after that i have to print first number, but when i print i, the result is the last number that came from last iteration in loop. I havent learn arrays, so the solution with indexes is not an option.
Output should be like this: 5 10 15 20 25 30 5