Matrices multidimencionales

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

int main() {
    
    int NumerosPares[6][4];
    int x;
    int y;
    int a=0;
    
    for(x=0;x<6;x++){
        for(y=0;y<4;y++){
             printf("\nIngresar un nĂºmero:");
             scanf("%d",&NumerosPares[6][4]);
             a=a+NumerosPares[6][4];
        }
    }
    
    printf("\nSuma total %d",a);
    return 0;
}

Comments

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