Creep up on the problem and test each stage
Stage1
- declare an array of 16 ints named newValues
- read the 16 values into the array usig a for loop and print each value
Stage 2
- declare a second array of 16 ints named previousValues
- before you read each new value save the value in the newValues array to the previousValues array * after each reading print the difference between them
Stage 3
- declare a third array named differences
- calculate the difference for each pot as you read the values and save the difference in the differences array
- once you have read all 16 values print the 16 values in the differences array
That will do for now !