C Programlama Dili Matris

Girilen satır ve sütun değerlerince matris yapan c programlama dili örneği...

#include<stdio.h>
#define SUT 3
#define SAT 3
int main ()
{
int i,j, a[SAT][SUT] ={ 5,8,9,6,9,77,88,90,100};
puts("matris    : ");
for(i=0;i<SAT;i++)
{
    for(j=0;j<SUT;j++)
    {
    printf("%4d",a[i][j]);
}
printf("\n");
}
return 0;
}
Googleda paylaş

About Nur Event Design

This is a short description in the author block about the author. You edit it by entering text in the "Biographical Info" field in the user admin panel.
    Blogger Yorumları
    Facebook Yorumları

0 yorum:

Yorum Gönder