I am trying to initialize int x[] = {10, 100, 1000, 10000} into a loop and give me four different numbers for something. I was trying to get creative and just do myArr[j] = j * 10; with (int j = 1; j < 10000; j++) , but that doesn't work. It still gives me an output of 10 11 12... Does anybody know how to make an array punch through a loop and give me 10 Press any key to continue... 100 Press any key to continue... 1000 Press any key to continue... 10000 Press any key to continue.... I'm thinking I must set the for loop to < 10000.1 or < 10001 to output the final value in the array.