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

Related Posts:

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

Posting Komentar

Thank you for reading the article in this post.
We hope you can leave comments about this post, so that it will be an evaluation material for us to make a better article for the future.

Report if there is an inactive link by commenting, we will immediately make improvements to the link.