program Matriks 4x3 c/c++

program Matriks 4x3 c/c++
#include <stdio.h>
#include <stdlib.h>
 
int A[4][3],i,j;

int main(int argc, char *argv[])
{
    for(i=0;j=i<4;i++)
    {
        for(j=0;j<3;j++)
        { 
        printf("Input Matriks A[%d][%d]: ",i+1,j+1);
        scanf("%d",&A[i][j]);
        }
    }
    for(i=0;i<4;i++)
    {
        for(j=0;j<3;j++)
        {
            printf("%3d",A[i][j]);
        }
        printf("\n");
    }
system("pause");
return 0;
}

Screenshot matriks 4x3

0 Response to "program Matriks 4x3 c/c++ "

Post a Comment