I have this code: 

```
#include <stdio.h>
#include<conio.h>

main(){
    float promAnual=0.0;
    int numMeses, numToneladas,i, suma = 0, mesTon = 0;
    float toneladas[12];

    for(i = 1; i < 13; i++){
        printf("Ingrese la cantidad de toneladas del mes #%d->", i);
        scanf("%f", &toneladas[i] );
     }

    for(i = 1; i < 13; i++){
        suma = suma + toneladas [i];
    }
    promAnual = suma / 12.0;

    for(i = 1; i < 13; i++){
        if(toneladas[i]>promAnual){
            numMeses = numMeses + 1;
        }
    }
    numToneladas = 0;
    mesTon = 0;

    for(i = 1; i < 13; i++){
        if(toneladas[i]>toneladas[i+1]){
            mesTon = i; 
            numToneladas = toneladas[i];
        }
    }

    printf("El promedio anual es: %0.2f, %d mes(es) tuvieron mayor cosecha que el promedio anual, y el mayor numero de toneladas se produjo en el mes #%d con %0.2f", promAnual,numMeses,mesTon, numToneladas);
    }

```

The issue is that the last 2 variables in the last printf are showing wrong values, I know why, but I don't know how to fix it, it is because the last "for" is assigning the last value of "i", but I don't know how to fix it.