modified autogen.sh to remove reference to osl/
[converter.git] / tests / c_files / dummy.c
blob61f0af87668dfd63707525c6632fde3976002067
1 /* dummy.c for testing purposes */
2 #include <stdio.h>
4 int main()
6 int i,j,k;
7 float a[N][N], b[N][N], c[N][N];
9 /* We read matrix a */
10 for(i=0; i<N; i++)
11 for(j=0; j<N; j++)
12 scanf(" %f",&a[i][j]);
14 /* We read matrix b */
15 for(i=0; i<N; i++)
16 for(j=0; j<N; j++)
17 scanf(" %f",&b[i][j]);
19 /* c = a * b */
20 #pragma scop
21 for(i=0; i<N; i++)
23 #pragma endscop
25 /* We print matrix c */
26 for(i=0; i<N; i++)
28 for(j=0; j<N; j++)
29 printf("%6.2f ",c[i][j]);
30 printf("\n");
33 return 0;