#include<stdio.h>
main()
{
int i,j;
float x[3][4]= {1,1,1,1,
2,2,2,2,
3,3,3,3};
for (i=0;i<3;i++){
for (j=0;j<4;j++){
printf ("%.0f\t",x[i][j]);
}
printf("\n");
}
}
Output :
1 1 1 1
2 2 2 2
3 3 3 3
0 comments:
Posting Komentar