0_0_19407184_18701.c: In function 'main':
0_0_19407184_18701.c:9:2: error: 'for' loop initial declarations are only allowed in C99 or C11 mode
for(int i=1;;i++){
^
0_0_19407184_18701.c:9:2: note: use option -std=c99, -std=gnu99, -std=c11 or -std=gnu11 to compile your code
0_0_19407184_18701.c:10:8: error: expected expression before 'int'
int x=int(a*i/100);
^
0_0_19407184_18701.c:11:8: error: expected expression before 'int'
int y=int(b*i/100);
^
|