Matrices multidimencionales

an anonymous user · June 30, 2020 · C
#include <stdio.h>

int main() {
    
    int Arregos_Pares[6][4];
    int y;
    int x;
    int b=0;
    
    for(y=0;y<6;y++){
        for(x=0;x<4;x++){
             printf("\nNumeros Pares:");
             scanf("%d",&Arregos_Pares[6][4]);
             b=b+Arregos_Pares[6][4];
        }
    }
    
    printf("\nTotal Pares %d",b);
    return 0;
}

Comments

Please sign up or log in to contribute to the discussion.