02-01-2008, 19:34
|
|
|
חבר מתאריך: 02.06.03
הודעות: 1,224
|
|
כן כי אני מאמין פה הבעיה
לא?
אבל הנה כל התוכנית
(אם זה יעזור)
קוד:
float z,num=0;
int i,j;
int mtrx[SIZE][SIZE];
for (i=0;i<SIZE;i++)
{for (j=0;j<SIZE;j++)
z=saddle(i,j);
mtrx[i][j]=z;
}
float saddle(float a ,float b)
{
float num;
num=(((a-4)*(a-4)/4)-((b-3)*(b-3)/9)+5);
return num
;
_____________________________________
It is nice to be importent but it's more importent to be nice
|