If the input is 1234567
for (i = 1; i <= 7; i++) { printf("%d", number[i]); }If i want to see the position number[1], how can i do that? The position number[1] is the digit 2 from my input.
My problem is that i have another array, digits[7]={7,6,5,4,3,2,1}, how can i multiply the digits[] with number[]?
digits[0]*number[0] does not work.