int main(){
    int  N, i, j=0;
    float MA, MB, asum=0, bsum=0, y;
    printf("\number of pairs: "); scanf("%d", &N);
    int a[N+1], b[N+1], c[N+1];
    for(i=1; i<N+1; i++){
        printf("\na%d",i); printf("=");
        scanf("%f", &a[i]);
        printf("b%d",i); printf("=");
        scanf("%f", &b[i]);
        printf("\n aSUM= %.6f \n",asum);
        asum+=a[i];
        printf("\n aSUM= %.6f \n",asum);
    } 
The idea of this code is simple. User inputs int or float values, then they get summed and outputted as a float value. However I'am getting astronomical values straight away. Fe. if it tries to make addition of 0 and 7, it outputs a value of 1088421888.000000. What the heck is going on?? :D
 
     
     
     
    